/* ===================================================================
   MAZARYA MARKETING SITE — STYLESHEET
   Editorial Neo-Minimalist design system.
   Shared across index.html, terms.html, privacy.html.
   =================================================================== */

@font-face {
  font-family: 'Agbalumo';
  src: url('../fonts/Agbalumo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #D90404;
  --black: #0A0A0A;
  --white: #FFFFFF;
  --neutral: #F5F5F5;
  --divider: #E8E8E8;
  --muted: #6B6B6B;
  --green: #1A7A4A;       /* the app's success colour (Colors.success) */
  --green-light: #E8F5EE; /* Colors.successLight */
  --on-photo-muted: rgba(255,255,255,0.75); /* secondary text on photo sections */
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, 'Noto Naskh Arabic', Arial, sans-serif;
  --font-en: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-logo: 'Agbalumo', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-ar);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[data-lang="en"] body { font-family: var(--font-en); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── LANG ─── */
.ar { display: block; }
.en { display: none; }
html[data-lang="en"] .ar { display: none; }
html[data-lang="en"] .en { display: block; }
.ar-inline { display: inline; }
.en-inline { display: none; }
html[data-lang="en"] .ar-inline { display: none; }
html[data-lang="en"] .en-inline { display: inline; }

/* ─── NAV — floating pill + full-screen overlay ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 28px;
  pointer-events: none;
  transition: padding 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header.scrolled { padding: 10px 20px; }

.nav-pill {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px 7px 18px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(10,10,10,0.08), 0 2px 6px rgba(10,10,10,0.04);
  transition: padding 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease,
              gap 0.35s ease;
  isolation: isolate;
}

.site-header.scrolled .nav-pill {
  padding: 5px 6px 5px 14px;
  box-shadow: 0 4px 18px rgba(10,10,10,0.06), 0 1px 3px rgba(10,10,10,0.03);
}

.nav-pill-divider {
  width: 1px;
  height: 22px;
  background: var(--divider);
  flex-shrink: 0;
}

.nav-pill-divider--end { margin-inline: 2px; }

.wordmark {
  font-weight: 900;
  font-size: 20px;
  color: var(--red);
  letter-spacing: -0.5px;
  text-decoration: none;
  direction: ltr;
  flex-shrink: 0;
  font-family: var(--font-ar);
  padding-inline: 4px;
  transition: font-size 0.35s ease;
}

.site-header.scrolled .wordmark { font-size: 18px; }

html[data-lang="en"] .wordmark {
  font-family: var(--font-logo);
  font-size: 18px;
  letter-spacing: 0;
}

html[data-lang="en"] .site-header.scrolled .wordmark { font-size: 16px; }

.nav-center {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 2px;
  list-style: none;
  align-items: center;
  min-width: 0;
}

.nav-center a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  font-family: var(--font-ar);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

html[data-lang="en"] .nav-center a { font-family: var(--font-en); font-size: 12px; }

.nav-center a:hover { color: var(--black); background: var(--neutral); }
.nav-center a.active { color: var(--black); background: var(--neutral); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  background: var(--neutral);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
  letter-spacing: 0.06em;
  font-family: var(--font-en);
  border-radius: 999px;
}

.lang-btn.active { color: var(--white); background: var(--black); }

.lang-divider { display: none; }

.nav-cta {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  font-family: var(--font-ar);
  border-radius: 999px;
}

html[data-lang="en"] .nav-cta { font-family: var(--font-en); }
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); background: var(--red); }

/* Mobile menu trigger — hidden on desktop */
.nav-menu-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

html[data-lang="en"] .nav-menu-trigger { font-family: var(--font-en); }

.nav-menu-trigger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.nav-menu-trigger-bars span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.nav-menu-trigger-bars span:first-child { width: 100%; }
.nav-menu-trigger-bars span:last-child { width: 70%; margin-inline-start: auto; }

.nav-menu-trigger.open .nav-menu-trigger-bars span:first-child {
  transform: translateY(3px) rotate(45deg);
  width: 100%;
}

.nav-menu-trigger.open .nav-menu-trigger-bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
  width: 100%;
  margin-inline-start: 0;
}

/* ─── MOBILE FULL-SCREEN OVERLAY ─── */
.nav-overlay-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 149;
  background: rgba(10,10,10,0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding: 24px 28px 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  margin-bottom: 48px;
}

.nav-overlay-logo {
  font-family: var(--font-ar);
  font-weight: 900;
  font-size: 24px;
  color: var(--red);
  text-decoration: none;
}

html[data-lang="en"] .nav-overlay-logo { font-family: var(--font-logo); font-size: 22px; }

.nav-overlay-close {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s;
}

.nav-overlay-close:hover { background: rgba(255,255,255,0.14); }
.nav-overlay-close svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; }

.nav-overlay-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px 0;
}

.nav-overlay-links a {
  display: block;
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 10px 16px;
  font-family: var(--font-ar);
  transition: color 0.25s ease, transform 0.35s ease, opacity 0.35s ease;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(12px);
}

.nav-overlay-links a.active { color: var(--red); }

html[data-lang="en"] .nav-overlay-links a { font-family: var(--font-en); font-size: clamp(24px, 6.5vw, 40px); }

.nav-overlay.open .nav-overlay-links a {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.open .nav-overlay-links a:nth-child(1) { transition-delay: 0.05s; }
.nav-overlay.open .nav-overlay-links a:nth-child(2) { transition-delay: 0.1s; }
.nav-overlay.open .nav-overlay-links a:nth-child(3) { transition-delay: 0.15s; }
.nav-overlay.open .nav-overlay-links a:nth-child(4) { transition-delay: 0.2s; }
.nav-overlay.open .nav-overlay-links a:nth-child(5) { transition-delay: 0.25s; }

.nav-overlay-links a:hover { color: var(--white); }

.nav-overlay-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-overlay-cta {
  display: block;
  width: 100%;
  max-width: 320px;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  font-family: var(--font-ar);
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

html[data-lang="en"] .nav-overlay-cta { font-family: var(--font-en); }
.nav-overlay-cta:hover { opacity: 0.9; }

.nav-overlay-lang {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
}

.mobile-lang-btn {
  flex: 1;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-en);
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.06em;
}

.mobile-lang-btn.active { color: var(--red); background: rgba(217,4,4,0.12); }

.nav-overlay-social {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.nav-overlay-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  text-decoration: none;
}

.nav-overlay-social a:hover { background: rgba(255,255,255,0.14); }
.nav-overlay-social svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.7); }

@media (max-width: 1024px) {
  .nav-center a { padding: 7px 9px; font-size: 12px; }
  .nav-cta { padding: 8px 14px; font-size: 11px; }
}

@media (max-width: 768px) {
  .site-header { padding: 12px 16px; }
  .site-header.scrolled { padding: 8px 12px; }

  .nav-pill {
    max-width: none;
    padding: 6px 6px 6px 16px;
  }

  .nav-pill-divider,
  .nav-pill-divider--end,
  .nav-center,
  .nav-right { display: none; }

  .nav-menu-trigger { display: flex; }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  padding-top: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

.hero-left {
  padding: 80px 48px 80px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: center;
}

html[data-lang="en"] .hero-left { padding: 80px 64px 80px 48px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.hero-headline {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--black);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
  font-family: var(--font-ar);
  font-size: clamp(44px, 5vw, 76px);
}

html[data-lang="en"] .hero-headline {
  font-family: var(--font-en);
  font-size: clamp(38px, 4.5vw, 68px);
  letter-spacing: -2px;
}

.hero-headline .accent { color: var(--red); }

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
  max-width: 420px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.3s forwards;
  font-family: var(--font-ar);
}

html[data-lang="en"] .hero-sub { font-family: var(--font-en); font-size: 16px; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; opacity: 0; animation: fadeUp 0.7s ease 0.55s forwards; }
.hero-chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--black); font-family: var(--font-ar); }
html[data-lang="en"] .hero-chips li { font-family: var(--font-en); font-size: 12px; }
.hero-chips svg { color: var(--red); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-ar);
}

html[data-lang="en"] .btn-primary { font-family: var(--font-en); font-size: 14px; }
.btn-primary:hover { background: var(--red); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  text-decoration: none;
  border: 1px solid rgba(10,10,10,0.2);
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-ar);
}

html[data-lang="en"] .btn-secondary { font-family: var(--font-en); font-size: 14px; }
.btn-secondary:hover { border-color: var(--black); background: var(--black); color: var(--white); transform: translateY(-1px); }

/* ─── COUNTDOWN ─── */
.countdown-block {
  border-top: 1px solid var(--divider);
  padding-top: 32px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.countdown-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ar);
}

html[data-lang="en"] .countdown-label { font-family: var(--font-en); }

.countdown-label-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: breathe 1.8s ease-in-out infinite;
}

.countdown-timer { display: flex; gap: 0; align-items: flex-end; direction: ltr; }

.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.countdown-digits {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--black);
  letter-spacing: -3px;
  min-width: 64px;
  text-align: center;
  transition: color 0.3s ease;
  font-variant-numeric: tabular-nums;
}

.countdown-digits.flash { color: var(--red); }

.countdown-unit-label {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-family: var(--font-en);
}

.countdown-sep {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 300;
  color: var(--divider);
  line-height: 1;
  margin-bottom: 18px;
  padding: 0 2px;
  animation: sepBlink 1s ease-in-out infinite;
}

@keyframes sepBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ─── HERO RIGHT — Auction Scene ─── */
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--black);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Real lots in the hero phone (drop-feed.js): a soft swap between pieces. */

@media (max-width: 1024px) {
  .hero-right { min-height: 600px; }
}

@media (max-width: 768px) {
  .hero-right { min-height: 500px; }

}

/* ─── THIS WEEK'S DROP — real lots (drop-feed.js) ─── */
.lot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #1c1c1c;
  border: 1px solid #1c1c1c;
  align-self: start;
}
.lot-card {
  display: flex;
  flex-direction: column;
  background: #111;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
  transition: background 0.2s ease;
}
.lot-card:hover { background: #181818; }
.lot-card:hover .lot-img img { transform: scale(1.04); }
.lot-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1a; }
.lot-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.lot-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  font-family: var(--font-ar);
}
html[data-lang="en"] .lot-badge { font-family: var(--font-en); letter-spacing: 0.04em; }
.lot-badge-live { background: var(--red); }
.lot-info { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 16px; }
.lot-brand { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8a8a; }
.lot-title { font-size: 14px; font-weight: 600; font-family: var(--font-ar); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-lang="en"] .lot-title { font-family: var(--font-en); }
.lot-meta { font-size: 11px; color: #777; font-family: var(--font-ar); }
html[data-lang="en"] .lot-meta { font-family: var(--font-en); }
.lot-price { margin-top: 6px; font-family: var(--font-en); font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.lot-price small { font-size: 10px; font-weight: 500; color: #8a8a8a; font-family: var(--font-ar); letter-spacing: 0; }
html[data-lang="en"] .lot-price small { font-family: var(--font-en); }
.lot-skeleton { aspect-ratio: 4 / 6; background: linear-gradient(100deg, #141414 40%, #1d1d1d 50%, #141414 60%); background-size: 200% 100%; animation: lotShimmer 1.4s linear infinite; }
@keyframes lotShimmer { to { background-position: -200% 0; } }
.lot-empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; font-size: 15px; font-weight: 600; color: #aaa; font-family: var(--font-ar); }

@media (max-width: 480px) {
  .lot-info { padding: 10px 10px 14px; }
  .lot-title { font-size: 13px; }
  .lot-price { font-size: 15px; }
}

/* ─── FOLLOW — capture visitors who aren't ready to install ─── */
/* Text beside a three-photo mosaic, like a glimpse of the feed you'd follow. */
.follow-section { padding: 110px 64px; border-top: 1px solid var(--divider); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.follow-inner { max-width: 560px; }
.follow-sub { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 16px 0 32px; font-family: var(--font-ar); }
.follow-section .follow-buttons { justify-content: flex-start; }
.follow-mosaic { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.follow-mosaic picture { display: block; overflow: hidden; }
.follow-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.follow-mosaic picture:hover img { transform: scale(1.05); }
.follow-mosaic .m1 { grid-row: 1 / 3; }
.follow-mosaic .m3 { transform: translateY(28px); }
.mosaic-handle { position: absolute; bottom: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--white); color: var(--black); font-family: var(--font-en); font-size: 13px; font-weight: 700; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(10,10,10,0.45); }
.mosaic-handle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ─── PHOTO BAND — full-width editorial photo + the tagline ─── */
.photo-band { position: relative; height: 560px; overflow: hidden; display: flex; align-items: flex-end; background: var(--black); }
.photo-band-img { position: absolute; inset: 0; }
.photo-band-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.25); will-change: transform; }
.photo-band::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,0.28); }
.photo-band-line { position: relative; z-index: 1; padding: 0 64px 56px; color: var(--white); font-family: var(--font-ar); font-weight: 900; font-size: clamp(36px, 5vw, 76px); line-height: 1.05; letter-spacing: -1px; max-width: 900px; }
html[data-lang="en"] .photo-band-line { font-family: var(--font-en); letter-spacing: -2.5px; }
html[data-lang="en"] .follow-sub { font-family: var(--font-en); font-size: 14px; }
.follow-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1.5px solid var(--black);
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-ar);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
html[data-lang="en"] .follow-btn { font-family: var(--font-en); }
.follow-btn svg { width: 18px; height: 18px; fill: currentColor; }
.follow-btn[hidden] { display: none; }
.follow-btn:hover { background: var(--black); color: var(--white); transform: translateY(-1px); }
.follow-whatsapp { background: #25D366; border-color: #25D366; color: var(--white); }
.follow-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; }
@media (max-width: 768px) {
  .follow-section { padding: 72px 20px; grid-template-columns: 1fr; gap: 40px; }
  .follow-mosaic { height: 380px; order: 2; }
  .photo-band { height: 420px; }
  .photo-band-line { padding: 0 24px 36px; }
  .follow-btn { flex: 1 1 100%; justify-content: center; }
}

/* ─── STICKY CTA — phones only (sticky-cta.js) ─── */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 90;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    background: var(--black);
    color: var(--white);
    transform: translateY(140%);
    transition: transform 0.3s ease;
  }
  html[dir="rtl"] .sticky-cta { padding: 10px 16px 10px 10px; }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta-text { display: flex; flex-direction: column; font-size: 11px; color: #aaa; font-family: var(--font-ar); line-height: 1.3; }
  html[data-lang="en"] .sticky-cta-text { font-family: var(--font-en); }
  .sticky-cta-text strong { color: var(--white); font-size: 15px; font-family: var(--font-ar); }
  html[data-lang="en"] .sticky-cta-text strong { font-family: var(--font-en); }
  .sticky-cta-btn { background: var(--red); color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; padding: 12px 18px; white-space: nowrap; font-family: var(--font-ar); }
  html[data-lang="en"] .sticky-cta-btn { font-family: var(--font-en); }
}

/* ─── TICKER ─── */
.ticker-bar { background: var(--black); color: var(--white); padding: 12px 0; overflow: hidden; white-space: nowrap; position: relative; }

.ticker-bar::before, .ticker-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker-bar::before { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.ticker-bar::after { left: 0; background: linear-gradient(to right, var(--black), transparent); }

.ticker-track { display: inline-flex; animation: ticker 40s linear infinite; will-change: transform; }
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item { font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; padding: 0 32px; color: rgba(255,255,255,0.6); font-family: var(--font-ar); gap: 6px; }
html[data-lang="en"] .ticker-item { font-family: var(--font-en); }
.ticker-item:hover { color: var(--white); }
.ticker-bold { color: rgba(255,255,255,0.9); font-weight: 600; }
.ticker-price { color: var(--red); font-family: var(--font-en); direction: ltr; font-weight: 700; }
.ticker-sep { color: #2a2a2a; font-size: 18px; font-weight: 100; padding: 0 8px; }
.ticker-loading { color: rgba(255,255,255,0.3); font-family: var(--font-en); font-size: 12px; padding: 0 24px; }

/* ─── SHARED SECTION ─── */
.section { padding: 110px 64px; }

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
html[data-lang="ar"] .section-eyebrow { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; }

.section-title {
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--black);
  max-width: 640px;
  margin-bottom: 64px;
  font-family: var(--font-ar);
  font-size: clamp(32px, 3.5vw, 54px);
}

html[data-lang="en"] .section-title {
  font-family: var(--font-en);
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: -1.5px;
}

/* ─── HOW IT WORKS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--divider); }

.step-card {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid var(--divider);
  transition: background 0.25s ease;
  cursor: default;
}

html[data-lang="en"] .step-card { border-left: none; border-right: 1px solid var(--divider); }
html[data-lang="en"] .step-card:first-child { border-right: none; }
.step-card:first-child { border-left: none; }
.step-card:hover { background: var(--neutral); }

.step-number { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: rgba(10,10,10,0.18); }
.step-title { font-weight: 700; color: var(--black); line-height: 1.3; font-family: var(--font-ar); font-size: 18px; }
html[data-lang="en"] .step-title { font-family: var(--font-en); font-size: 16px; }
.step-desc { font-weight: 400; color: var(--muted); line-height: 1.75; font-family: var(--font-ar); font-size: 14px; }
html[data-lang="en"] .step-desc { font-family: var(--font-en); font-size: 13px; }

/* Buying / Selling tabs (how-tabs.js) */
.how-tabs { display: inline-flex; border: 1px solid var(--black); margin-bottom: 40px; }
.how-tab { font-family: var(--font-ar); font-size: 15px; font-weight: 700; padding: 10px 28px; border: none; background: var(--white); color: var(--black); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
html[data-lang="en"] .how-tab { font-family: var(--font-en); font-size: 14px; }
.how-tab.is-active { background: var(--black); color: var(--white); }
.how-panel[hidden] { display: none; }

/* Buying steps */
.buy-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--divider); background: var(--divider); gap: 1px; }
.buy-step { background: var(--white); padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }

/* ─── DEVICE FRAME — every phone on the page ───
   Apple's official iPhone 18 Pro bezel (Black, Apple Design Resources) laid
   over the app screen. The frame image is 1350 × 2760; its screen opening is
   1206 × 2622 at (72, 69), i.e. 5.333% / 2.5% / 89.333% / 95%, corner radius
   ~180px (14.9% × 6.85%). One 16 KB image serves every phone; --w sets size. */
.device { --w: 210px; position: relative; width: var(--w); max-width: 100%; aspect-ratio: 1350 / 2760; }
.device > picture, .device > .screens { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; overflow: hidden; border-radius: 14.9% / 6.85%; background: var(--white); }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.device::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: url('../images/iphone-frame.webp') center / 100% 100% no-repeat; filter: drop-shadow(0 26px 30px rgba(10,10,10,0.32)); }
.device-wrap { position: relative; width: fit-content; max-width: 100%; margin: 0 auto 16px; }

/* A phone that plays a short flow: screens cross-fade in order, then loop. */
.screens > picture { display: block; height: 100%; }
.screens > picture + picture { position: absolute; inset: 0; opacity: 0; }
.screens.n2 > picture:nth-child(2) { animation: screen2of2 7s ease-in-out infinite; }
.screens.n3 > picture:nth-child(2) { animation: screen2of3 10s ease-in-out infinite; }
.screens.n3 > picture:nth-child(3) { animation: screen3of3 10s ease-in-out infinite; }
@keyframes screen2of2 { 0%, 42% { opacity: 0; transform: scale(1.03); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes screen2of3 { 0%, 27% { opacity: 0; transform: scale(1.03); } 33%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes screen3of3 { 0%, 60% { opacity: 0; transform: scale(1.03); } 66%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Chips: small cards that call out what the screen is showing. */
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; background: var(--white); color: var(--black); border-radius: 999px; font-family: var(--font-ar); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 14px 30px -12px rgba(10,10,10,0.45), 0 0 0 1px rgba(10,10,10,0.06); }
html[data-lang="en"] .chip { font-family: var(--font-en); font-size: 12px; }
html[dir="rtl"] .chip { padding: 8px 8px 8px 14px; }
.chip-icon { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--neutral); color: var(--black); }
.chip-icon svg, .hero-chips svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-chips svg { width: 12px; height: 12px; stroke-width: 3; flex-shrink: 0; }
.chip-lead .chip-icon { background: var(--green-light); color: var(--green); }
.chip-bid .chip-icon, .chip-one .chip-icon { background: var(--red); color: var(--white); }
.chip-cod .chip-icon { background: var(--black); color: var(--white); }
.chip-live { padding: 9px 16px; background: var(--red); color: var(--white); letter-spacing: 0.02em; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: chipPulse 1.4s ease-in-out infinite; }
@keyframes chipPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

/* Step chips sit half over the phone's edge and follow its screens. */
.device-wrap .chip { bottom: 18%; inset-inline-end: -46px; animation: chipFloat 5s ease-in-out infinite; }
.buy-step:nth-child(2) .chip { animation: chipWithLast 10s ease-in-out infinite; }
.buy-step:nth-child(3) .chip { animation: chipWithFirst 7s ease-in-out infinite; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes chipWithLast { 0%, 64% { opacity: 0; transform: translateY(10px) scale(0.92); } 70%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes chipWithFirst { 0% { opacity: 0; transform: translateY(10px) scale(0.92); } 8%, 40% { opacity: 1; transform: none; } 46%, 100% { opacity: 0; } }

/* ─── HERO STAGE — two phones and the live chips ─── */
.hero-stage { position: relative; width: 470px; height: 680px; flex-shrink: 0; }
.hero-stage .device { position: absolute; animation: deviceFloat 8s ease-in-out infinite; }
.device-front { --w: 296px; --rot: 4deg; right: 6px; top: 6px; z-index: 2; }
.device-back { --w: 252px; --rot: -8deg; left: 4px; top: 92px; z-index: 1; animation-delay: -3s !important; filter: brightness(0.92); }
@keyframes deviceFloat { 0%, 100% { transform: rotate(var(--rot)) translateY(0); } 50% { transform: rotate(var(--rot)) translateY(-14px); } }
.hero-stage .chip { opacity: 0; animation: chipIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, chipFloat 5s ease-in-out 0.6s infinite; }
.hero-stage .chip-live { top: 70px; left: -18px; animation-delay: 0.5s, 1.1s; }
.hero-stage .chip-bid { top: 330px; right: -26px; animation-delay: 0.9s, 1.5s; }
.hero-stage .chip-lead { bottom: 64px; left: -8px; animation-delay: 1.3s, 1.9s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(0.9); } to { opacity: 1; transform: none; } }

@media (max-width: 1024px) {
  .device-wrap .chip { inset-inline-end: -14px; bottom: 10%; }
}
@media (max-width: 768px) {
  .hero-stage { transform: scale(0.78); margin: -70px 0; }
}
@media (max-width: 480px) {
  .hero-stage { transform: scale(0.68); margin: -105px -60px; }
  .device-wrap .chip { inset-inline-end: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .seller-visual.visible .seller-device { animation: none; }
  .screens > picture + picture, .hero-stage .device, .chip, .hero-stage .chip { animation: none !important; }
  .hero-stage .chip, .device-wrap .chip { opacity: 1; }
  .hero-stage .device { transform: rotate(var(--rot)); }
}

/* ─── DROP MECHANIC ─── */
.drop-section {
  background: var(--black);
  color: var(--white);
  padding: 110px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.drop-eyebrow { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
html[data-lang="ar"] .drop-eyebrow { font-family: var(--font-ar); letter-spacing: 0; text-transform: none; }

.drop-title {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 28px;
  font-family: var(--font-ar);
  font-size: clamp(36px, 4vw, 64px);
}

html[data-lang="en"] .drop-title { font-family: var(--font-en); font-size: clamp(30px, 3.5vw, 56px); letter-spacing: -2px; }
.drop-title .day { color: var(--red); }

.drop-desc { font-size: 16px; font-weight: 400; line-height: 1.85; color: rgba(255,255,255,0.5); margin-bottom: 44px; font-family: var(--font-ar); }
html[data-lang="en"] .drop-desc { font-family: var(--font-en); font-size: 15px; }

/* ─── WALLET ─── */
.wallet-section { padding: 110px 64px; border-top: 1px solid var(--divider); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.wallet-right { display: flex; flex-direction: column; gap: 1px; background: var(--divider); border: 1px solid var(--divider); }
.wallet-step { background: var(--white); padding: 32px 36px; display: flex; align-items: flex-start; gap: 24px; transition: background 0.2s ease; cursor: default; }
.wallet-step:hover { background: var(--neutral); }
.wallet-step-icon { width: 40px; height: 40px; background: var(--neutral); border: 1px solid var(--divider); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--black); }
.wallet-step-icon svg { width: 18px; height: 18px; }
.wallet-step-content { display: flex; flex-direction: column; gap: 6px; }
.wallet-step-title { font-size: 16px; font-weight: 700; color: var(--black); font-family: var(--font-ar); }
html[data-lang="en"] .wallet-step-title { font-family: var(--font-en); font-size: 15px; }
.wallet-step-desc { font-size: 13px; color: var(--muted); line-height: 1.7; font-family: var(--font-ar); }
html[data-lang="en"] .wallet-step-desc { font-family: var(--font-en); }

/* Wallet: the real bid-confirm sheet ("held now, not spent unless you win"). */
.wallet-device { --w: 220px; margin-top: 40px; }

/* ─── SELLER ─── */
.seller-section { padding: 110px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; border-top: 1px solid var(--divider); }
/* Photo + the pricing screen rising from the bottom edge + the three stats.
   Logical insets, so Arabic mirrors without per-language overrides. */
.seller-visual { height: 600px; position: relative; overflow: hidden; background: var(--neutral); }
.seller-visual picture { display: block; height: 100%; }
.seller-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.seller-visual:hover .seller-photo { transform: scale(1.03); }
.seller-device { --w: 210px; position: absolute; bottom: -150px; inset-inline-end: 36px; z-index: 2; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.seller-visual.visible .seller-device { animation: riseIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s backwards; }
.seller-visual:hover .seller-device { transform: translateY(-10px); }
@keyframes riseIn { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }

.seller-stat-card { position: absolute; z-index: 3; background: var(--white); border: 1px solid var(--divider); padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; inset-inline-start: 24px; }
.seller-stat-card.card-1 { top: 24px; min-width: 160px; }
.seller-stat-card.card-3 { bottom: 128px; min-width: 150px; }
.seller-stat-card.card-2 { bottom: 24px; min-width: 190px; }

.stat-number { font-family: var(--font-en); font-size: 30px; font-weight: 700; color: var(--black); direction: ltr; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--muted); line-height: 1.5; font-family: var(--font-ar); }
html[data-lang="en"] .stat-label { font-family: var(--font-en); }
.stat-red { color: var(--red); }

.seller-commission { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--divider); margin-top: 40px; margin-bottom: 44px; }

.commission-cell {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s ease;
  border-left: 1px solid var(--divider);
  cursor: default;
}

html[data-lang="en"] .commission-cell { border-left: none; border-right: 1px solid var(--divider); }
html[data-lang="en"] .commission-cell:first-child { border-right: none; }
.commission-cell:first-child { border-left: none; }
.commission-cell:hover { background: var(--neutral); }
.commission-cell.featured { border-top: 3px solid var(--red); }

.commission-rate { font-family: var(--font-en); font-size: 44px; font-weight: 700; color: var(--black); line-height: 1; direction: ltr; letter-spacing: -2px; }
.commission-rate.red { color: var(--red); }
.commission-tier { font-weight: 700; color: var(--black); font-family: var(--font-ar); font-size: 14px; }
html[data-lang="en"] .commission-tier { font-family: var(--font-en); }
.commission-desc { color: var(--muted); line-height: 1.65; font-family: var(--font-ar); font-size: 13px; }

/* ─── EARNINGS CALCULATOR (earnings.js) ─── */
.earn-calc { border: 1px solid var(--divider); padding: 28px; margin: -12px 0 40px; }
.earn-calc[hidden] { display: none; }
.earn-label { display: block; font-weight: 700; font-size: 15px; color: var(--black); font-family: var(--font-ar); margin-bottom: 12px; }
html[data-lang="en"] .earn-label { font-family: var(--font-en); font-size: 14px; }
.earn-input-row { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--black); padding-bottom: 6px; }
.earn-input { flex: 1; min-width: 0; width: 100%; border: none; outline: none; background: transparent; font-family: var(--font-en); font-size: 40px; font-weight: 700; letter-spacing: -1.5px; color: var(--black); }
.earn-currency { font-family: var(--font-en); font-size: 14px; font-weight: 700; color: var(--muted); }
.earn-presets { display: flex; gap: 8px; margin: 14px 0 24px; flex-wrap: wrap; }
.earn-presets button { font-family: var(--font-en); font-size: 13px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--divider); background: var(--white); color: var(--black); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.earn-presets button:hover { border-color: var(--black); }
.earn-results { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--divider); }
.earn-col { display: flex; flex-direction: column; gap: 4px; padding: 20px; min-width: 0; }
.earn-col + .earn-col { border-inline-start: 1px solid var(--divider); }
.earn-col.featured { border-top: 3px solid var(--red); }
.earn-tier { font-size: 12px; font-weight: 700; color: var(--black); font-family: var(--font-ar); }
html[data-lang="en"] .earn-tier { font-family: var(--font-en); }
.earn-get { font-size: 11px; color: var(--muted); font-family: var(--font-ar); margin-top: 8px; }
html[data-lang="en"] .earn-get { font-family: var(--font-en); }
.earn-amount { font-family: var(--font-en); font-size: 28px; font-weight: 700; letter-spacing: -1px; color: var(--black); }
.earn-amount.red { color: var(--red); }
.earn-breakdown { font-size: 11px; line-height: 1.6; color: var(--muted); font-family: var(--font-ar); }
html[data-lang="en"] .earn-breakdown { font-family: var(--font-en); }
.earn-note { margin-top: 16px; font-size: 14px; line-height: 1.75; font-weight: 600; color: var(--black); font-family: var(--font-ar); min-height: 1.75em; }
html[data-lang="en"] .earn-note { font-family: var(--font-en); font-size: 13px; }
.earn-foot { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--muted); font-family: var(--font-ar); }
html[data-lang="en"] .earn-foot { font-family: var(--font-en); }
@media (max-width: 480px) {
  .earn-calc { padding: 20px; }
  .earn-input { font-size: 32px; }
  .earn-results { grid-template-columns: 1fr; }
  .earn-col + .earn-col { border-inline-start: none; border-top: 1px solid var(--divider); }
  .earn-col.featured { border-top: 3px solid var(--red); }
}
html[data-lang="en"] .commission-desc { font-family: var(--font-en); }

/* ─── TRUST ─── */
.trust-section { padding: 100px 64px; background: var(--neutral); border-top: 1px solid var(--divider); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--divider); background: var(--divider); gap: 1px; margin-top: 64px; }
.trust-card { background: var(--neutral); padding: 44px 40px; display: flex; flex-direction: column; gap: 20px; transition: background 0.2s ease; cursor: default; }
.trust-card:hover { background: var(--white); }
.trust-icon { width: 36px; height: 36px; color: var(--black); flex-shrink: 0; }
.trust-title { font-weight: 700; color: var(--black); line-height: 1.3; font-family: var(--font-ar); font-size: 18px; }
html[data-lang="en"] .trust-title { font-family: var(--font-en); font-size: 16px; }
.trust-desc { color: var(--muted); line-height: 1.8; font-family: var(--font-ar); font-size: 14px; }
html[data-lang="en"] .trust-desc { font-family: var(--font-en); font-size: 13px; }

/* ─── ABOUT ─── */
.about-section { padding: 110px 64px; border-top: 1px solid var(--divider); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; height: 680px; overflow: hidden; background: var(--neutral); }
.about-visual picture { display: block; height: 100%; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.about-visual:hover img { transform: scale(1.03); }

.about-quote {
  font-weight: 900;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 36px;
  font-family: var(--font-ar);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.5px;
}

html[data-lang="en"] .about-quote { font-family: var(--font-en); font-size: clamp(24px, 2.5vw, 38px); letter-spacing: -1.5px; }
.about-quote .accent { color: var(--red); }

.about-body { font-size: 16px; line-height: 1.85; color: var(--muted); margin-bottom: 36px; font-family: var(--font-ar); }
.about-body p + p { margin-top: 14px; }
.about-body p:last-child { color: var(--black); font-weight: 600; }

/* The three promises: large numerals, one line each. */
.about-promises { list-style: none; margin: 0 0 36px; padding: 0; border-top: 1px solid var(--divider); }
.about-promises li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--divider); }
.promise-num { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: 0.08em; flex-shrink: 0; }
.promise-text { font-family: var(--font-ar); font-size: 20px; font-weight: 800; color: var(--black); line-height: 1.4; }
html[data-lang="en"] .promise-text { font-family: var(--font-en); font-size: 18px; letter-spacing: -0.3px; }
html[data-lang="en"] .about-body { font-family: var(--font-en); font-size: 15px; }

/* The closing line: the idea in one sentence, set large. */
.about-vision { font-family: var(--font-ar); font-weight: 900; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; color: var(--red); margin: 0 0 36px; }
html[data-lang="en"] .about-vision { font-family: var(--font-en); letter-spacing: -1.5px; }

.about-signature { display: flex; align-items: center; gap: 16px; padding-top: 32px; border-top: 1px solid var(--divider); }
.about-avatar { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--divider); }
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-sig-name { font-weight: 700; color: var(--black); font-family: var(--font-ar); font-size: 15px; }
html[data-lang="en"] .about-sig-name { font-family: var(--font-en); }
.about-sig-role { font-size: 13px; color: var(--muted); font-family: var(--font-ar); }
html[data-lang="en"] .about-sig-role { font-family: var(--font-en); }


/* ─── FAQ ─── */
.faq-section { padding: 110px 64px; border-top: 1px solid var(--divider); background: var(--neutral); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--divider); border: 1px solid var(--divider); margin-top: 64px; }
.faq-item { background: var(--neutral); padding: 36px 40px; transition: background 0.2s ease; }
.faq-item:hover { background: var(--white); }

.faq-question {
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--font-ar);
  font-size: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: inherit;
  color: inherit;
}

.faq-question:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 2px; }

html[data-lang="en"] .faq-question { font-family: var(--font-en); font-size: 15px; }

.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform 0.25s ease; margin-top: 2px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--black); }

.faq-answer {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-top 0.35s ease;
  font-family: var(--font-ar);
}

html[data-lang="en"] .faq-answer { font-family: var(--font-en); font-size: 13px; }
.faq-item.open .faq-answer { max-height: 500px; padding-top: 16px; }

/* ─── DOWNLOAD ─── */
/* ─── PHOTO SECTIONS — a full-bleed photo behind the content ───
   A flat dark scrim (no gradient) sits between photo and content so white
   text reads on any part of the image. Strength per section via --scrim.
   Used by Pro, Contact and Download. */
.photo-section { position: relative; overflow: hidden; background: var(--black); color: var(--white); border-top: none; --scrim: 0.6; }
.photo-section > .section-photo { position: absolute; inset: 0; z-index: 0; }
.section-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-section::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(10,10,10,var(--scrim)); pointer-events: none; }
.photo-section > :not(.section-photo) { position: relative; z-index: 2; }
.photo-section .section-title, .photo-section .section-eyebrow { color: var(--white); }
.photo-section .btn-primary { background: var(--red); }

/* Contact: phones on one side, text on the other. The photo has no lettering,
   so it mirrors with the layout in Arabic. */
.contact-section { --scrim: 0.5; }
.contact-section .contact-content { grid-column: 2; }
.contact-section .section-photo img { object-position: 30% 50%; }
html[dir="rtl"] .contact-section .section-photo img { transform: scaleX(-1); }
.photo-section .contact-item { background: var(--white); }
.photo-section .contact-item:hover { background: var(--neutral); }

/* Pro: the dark portrait; the benefit cards stay light. */
.pro-form-section { --scrim: 0.55; }

.download-section {
  padding: 140px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  border-top: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
}

.download-section { --scrim: 0.62; }
.download-section .download-sub, .download-section .store-soon { color: rgba(255,255,255,0.72); }
.download-section .store-btn { background: var(--white); color: var(--black); }
.download-section .store-btn:hover { background: var(--red); color: var(--white); }

.download-title {
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 700px;
  position: relative;
  font-family: var(--font-ar);
  font-size: clamp(40px, 5.5vw, 80px);
}

html[data-lang="en"] .download-title { font-family: var(--font-en); font-size: clamp(34px, 5vw, 72px); letter-spacing: -3px; }

.download-sub { font-size: 18px; color: var(--muted); max-width: 480px; line-height: 1.75; position: relative; font-family: var(--font-ar); }
html[data-lang="en"] .download-sub { font-family: var(--font-en); font-size: 16px; }

.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 16px 28px;
  transition: background 0.2s ease, transform 0.15s ease;
  min-width: 190px;
}

.store-btn:hover { background: var(--red); transform: translateY(-2px); }
.store-btn:active { transform: translateY(0); }
.store-btn-icon { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; gap: 2px; }
.store-btn-sub { font-family: var(--font-en); font-size: 10px; opacity: 0.6; letter-spacing: 0.04em; direction: ltr; }
.store-btn-name { font-family: var(--font-en); font-size: 17px; font-weight: 700; letter-spacing: -0.3px; direction: ltr; }
.store-soon { font-size: 13px; color: var(--muted); position: relative; font-family: var(--font-ar); }
html[data-lang="en"] .store-soon { font-family: var(--font-en); }

/* ─── FOOTER ─── */
footer { background: var(--black); color: var(--white); padding: 72px 64px 48px; }

.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #1a1a1a; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-wordmark { font-family: var(--font-ar); font-weight: 900; font-size: 26px; color: var(--red); letter-spacing: -0.5px; }
html[data-lang="en"] .footer-wordmark { font-family: var(--font-logo); font-size: 24px; }
.footer-tagline { font-size: 14px; color: #959595; line-height: 1.75; max-width: 240px; font-family: var(--font-ar); }
html[data-lang="en"] .footer-tagline { font-family: var(--font-en); font-size: 13px; }
.footer-col-title { font-family: var(--font-en); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; color: #444; margin-bottom: 20px; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: #8a8a8a; text-decoration: none; transition: color 0.2s ease; font-family: var(--font-ar); }
html[data-lang="en"] .footer-links a { font-family: var(--font-en); font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-legal { font-size: 12px; color: #888; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--font-ar); }
html[data-lang="en"] .footer-legal { font-family: var(--font-en); }
.footer-legal a { color: #8a8a8a; text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--white); }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; text-decoration: none; flex-shrink: 0; }
.footer-social a:hover { background: rgba(255,255,255,0.14); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.65); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.26s; }

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

/* ─── CONTACT ─── */
.contact-section { padding: 110px 64px; border-top: 1px solid var(--divider); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 36px;
  border: 1px solid var(--divider);
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.contact-item:hover { background: var(--neutral); }
.contact-icon { width: 44px; height: 44px; background: var(--neutral); border: 1px solid var(--divider); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--black); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-title { font-weight: 700; color: var(--black); font-size: 15px; font-family: var(--font-ar); margin-bottom: 4px; }
html[data-lang="en"] .contact-item-title { font-family: var(--font-en); }
.contact-item-desc { font-size: 13px; color: var(--muted); font-family: var(--font-ar); line-height: 1.6; }
html[data-lang="en"] .contact-item-desc { font-family: var(--font-en); }

/* ─── PRO FORM ─── */
.pro-form-section { padding: 110px 64px; border-top: 1px solid var(--divider); background: var(--neutral); }
.pro-form-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; margin-top: 64px; }
.pro-form { display: flex; flex-direction: column; gap: 16px; }
.pro-benefits { display: flex; flex-direction: column; gap: 1px; background: var(--divider); border: 1px solid var(--divider); align-self: start; }
.pro-benefit { background: var(--neutral); padding: 28px 32px; display: flex; align-items: flex-start; gap: 16px; transition: background 0.2s; }
.pro-benefit:hover { background: var(--white); }
.pro-benefit-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--black); }
.pro-benefit-title { font-weight: 700; font-size: 14px; color: var(--black); font-family: var(--font-ar); margin-bottom: 4px; }
html[data-lang="en"] .pro-benefit-title { font-family: var(--font-en); }
.pro-benefit-desc { font-size: 12px; color: var(--muted); font-family: var(--font-ar); line-height: 1.6; }
html[data-lang="en"] .pro-benefit-desc { font-family: var(--font-en); }

/* ─────────────────────────────────────────────────────
   LEGAL PAGES (terms.html / privacy.html)
   ───────────────────────────────────────────────────── */
.legal-hero {
  padding: 160px 64px 60px;
  border-bottom: 1px solid var(--divider);
}

.legal-hero-title {
  font-weight: 900;
  font-family: var(--font-ar);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

html[data-lang="en"] .legal-hero-title { font-family: var(--font-en); letter-spacing: -1.5px; }

.legal-hero-meta { font-size: 13px; color: var(--muted); font-family: var(--font-en); direction: ltr; display: inline-block; }

.legal-draft-banner {
  margin-top: 28px;
  border: 1px solid var(--red);
  background: rgba(217,4,4,0.04);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 720px;
}

.legal-draft-banner svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.legal-draft-banner p { font-size: 13px; line-height: 1.7; color: var(--black); font-family: var(--font-ar); }
html[data-lang="en"] .legal-draft-banner p { font-family: var(--font-en); }

.legal-body { padding: 60px 64px 120px; max-width: 760px; }

.legal-body h2 {
  font-weight: 800;
  font-family: var(--font-ar);
  font-size: 20px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--divider);
}

html[data-lang="en"] .legal-body h2 { font-family: var(--font-en); }
.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  font-family: var(--font-ar);
  margin-bottom: 14px;
}

html[data-lang="en"] .legal-body p, html[data-lang="en"] .legal-body li { font-family: var(--font-en); font-size: 14px; }
.legal-body strong { color: var(--black); font-weight: 700; }
.legal-body ul, .legal-body ol { padding: 0 24px; margin-bottom: 14px; }
.legal-body a { color: var(--red); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--divider);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.legal-toc-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-en); margin-bottom: 8px; }
.legal-toc a { font-size: 13.5px; color: var(--black); text-decoration: none; font-family: var(--font-ar); }
html[data-lang="en"] .legal-toc a { font-family: var(--font-en); }
.legal-toc a:hover { color: var(--red); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 40px; }
  .hero-right { min-height: 600px; padding: 40px 0; }
  .section { padding: 80px 40px; }
  .drop-section { padding: 80px 40px; gap: 60px; }
  .seller-section { padding: 80px 40px; gap: 60px; }
  .wallet-section { padding: 80px 40px; gap: 60px; }
  .about-section { padding: 80px 40px; gap: 60px; }
  .trust-section { padding: 80px 40px; }
  .faq-section { padding: 80px 40px; }
  .download-section { padding: 100px 40px; }
  .contact-section { padding: 80px 40px; gap: 60px; }
  .pro-form-section { padding: 80px 40px; }
  .legal-hero { padding: 120px 40px 50px; }
  .legal-body { padding: 50px 40px 100px; }
  footer { padding: 60px 40px 40px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card:nth-child(n+3) { border-top: 1px solid var(--divider); }
  .buy-step { padding: 32px 20px; }
}

@media (max-width: 768px) {
  .hero-left { padding: 48px 24px; }
  .section { padding: 64px 24px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card { padding: 32px 24px; }
  .drop-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 48px; }
  .seller-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 48px; }
  .wallet-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 48px; }
  .about-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 40px; }
  .about-visual { height: 440px; }
  .seller-visual { height: 460px; }
  .seller-device { --w: 170px; inset-inline-end: 20px; bottom: -120px; }
  .wallet-device { --w: 190px; margin-inline: auto; }
  .trust-section { padding: 64px 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .buy-steps { grid-template-columns: 1fr; }
  .buy-step { padding: 32px 24px; }
  .faq-section { padding: 64px 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .download-section { padding: 80px 24px; }
  .contact-section { grid-template-columns: 1fr; padding: 64px 24px; gap: 32px; }
  .contact-section .contact-content { grid-column: auto; }
  .pro-form-section { padding: 64px 24px; }
  .pro-form-inner { grid-template-columns: 1fr; gap: 48px; }
  .legal-hero { padding: 120px 24px 40px; }
  .legal-body { padding: 40px 24px 80px; }
  footer { padding: 48px 24px 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .seller-commission { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .countdown-digits { font-size: 38px; min-width: 50px; }
}

/* ─── SHARED ITEM (/l/<listingId>, rendered by api/l.js into item.html) ───
   The drop section's dark two-column layout with one piece in it: the photo
   in the drop grid's 4:5 frame, the same brand/meta/price type as a lot card. */
.item-section { padding-top: 160px; }
.item-section .drop-title { font-size: clamp(30px, 3.2vw, 48px); margin-bottom: 16px; }
html[data-lang="en"] .item-section .drop-title { font-size: clamp(28px, 3vw, 44px); }
.item-brand { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 12px; }
.item-meta { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; font-family: var(--font-ar); }
html[data-lang="en"] .item-meta { font-family: var(--font-en); }
.item-price { font-family: var(--font-en); font-size: 30px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 20px; }
.item-price small { font-size: 12px; font-weight: 500; color: #8a8a8a; font-family: var(--font-ar); letter-spacing: 0; margin-inline-end: 6px; }
html[data-lang="en"] .item-price small { font-family: var(--font-en); }
.item-section .drop-desc { margin-bottom: 32px; }
.item-section .btn-primary { background: var(--red); }
.item-section .btn-primary:hover { background: var(--white); color: var(--black); }
.item-section .store-buttons { justify-content: flex-start; margin-top: 28px; }
.item-section .store-btn { background: var(--white); color: var(--black); }
.item-section .store-soon { margin-top: 14px; color: rgba(255,255,255,0.5); }
.item-photo { width: 100%; max-width: 480px; justify-self: center; }
.item-gone { grid-template-columns: 1fr; text-align: start; }

@media (max-width: 768px) {
  .item-section { padding-top: 112px; }
  .item-photo { order: -1; max-width: none; }
  .item-section .store-btn { flex: 1; min-width: 0; }
}

/* ─── ACCESSIBILITY: visible keyboard focus ─── */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
