/* عرسي · 3ARSI — Mobile-first landing page
   Hand-crafted, framework-free, performance-tuned.
   Brand: Henna #8F2F38 · Gold #C9A14A · Cream #FFF8EC */

:root {
  --henna: #8F2F38;
  --henna-dark: #6E1F26;
  --henna-soft: #F7E3E5;
  --gold: #C9A14A;
  --gold-soft: #F5E6BE;
  --cream: #FFF8EC;
  --cream-2: #FBEFD8;
  --ink: #2A1B1F;
  --ink-2: #5C4A50;
  --line: #ECDFC4;
  --wa: #25D366;
  --wa-dark: #128C7E;

  --shadow-sm: 0 4px 14px rgba(50, 20, 25, .06);
  --shadow-md: 0 10px 28px rgba(50, 20, 25, .10);
  --shadow-lg: 0 20px 44px rgba(60, 20, 25, .16);

  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --font-ar: "Cairo", "Amiri", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Amiri", "Cairo", serif;
  --font-lat: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video { max-width: 100%; height: auto; display: block; }

a { color: var(--henna); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--henna-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--henna);
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(30px, 7vw, 54px); font-weight: 700; }
h2 { font-size: clamp(24px, 5vw, 38px); font-weight: 700; }
h3 { font-size: clamp(18px, 3.4vw, 24px); font-weight: 700; }

p { margin: 0 0 14px; color: var(--ink-2); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-lat);
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

em { font-style: normal; color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  padding: 16px 28px;
  font-family: var(--font-ar);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-primary {
  background: var(--henna);
  color: #fff;
  box-shadow: 0 12px 28px rgba(143, 47, 56, .28);
}
.btn-primary:hover { background: var(--henna-dark); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--henna);
}
.btn-light:hover { background: var(--cream-2); color: var(--henna-dark); }
.btn-block { width: 100%; }
.ic-wa { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 248, 236, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(201, 161, 74, .18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--henna);
  font-family: var(--font-display);
}
.brand img { border-radius: 50%; }
.brand-name {
  font-size: 22px;
  font-weight: 700;
}
.brand-name em {
  font-family: var(--font-lat);
  font-size: 14px;
  color: var(--gold);
  margin-inline-start: 4px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 22px 0 36px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201, 161, 74, .10), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(143, 47, 56, .06), transparent 60%),
    var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--cream-2), var(--henna-soft));
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.badge {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, .94);
  padding: 10px 14px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge strong {
  font-family: var(--font-lat);
  font-size: 22px;
  color: var(--henna);
  line-height: 1;
}
.badge span {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.3;
}

.hero-copy h1 { margin-bottom: 14px; }
.hero-copy .lead {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 22px;
  max-width: 540px;
}
.reassure {
  font-size: 13px;
  color: var(--henna);
  font-weight: 700;
  margin: 10px 0 0;
  text-align: center;
}
.reassure.light { color: rgba(255, 255, 255, .9); }
.hero-points {
  list-style: none;
  padding: 18px 0 0;
  margin: 18px 0 0;
  border-top: 1px dashed rgba(201, 161, 74, .35);
  display: grid;
  gap: 8px;
}
.hero-points li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero-points li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 4px;
  color: var(--gold);
  font-weight: 800;
}

/* ===== Trust ===== */
.trust {
  background: var(--henna);
  color: #fff;
  padding: 22px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-grid strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-soft);
  line-height: 1.1;
}
.trust-grid span {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

/* ===== Sections ===== */
.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
}

/* ===== Demo ===== */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 161, 74, .18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--cream-2);
}
.card h3 { margin: 4px 0 0; font-size: 19px; }
.card p { margin: 0; font-size: 14.5px; }

/* ===== Compare ===== */
.compare { background: var(--cream-2); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.compare-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-inline-start: 4px solid;
}
.compare-card.before { border-color: #C77B82; }
.compare-card.after { border-color: var(--gold); }
.compare-card .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.compare-card.before .tag { background: #FCEBEB; color: #B14048; }
.compare-card.after .tag { background: var(--gold-soft); color: var(--henna-dark); }
.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.compare-card li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.compare-card.before li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: #C77B82;
}
.compare-card.after li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: 900;
}

/* ===== Offer ===== */
.offer { background: #fff; }
.offer-card {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 161, 74, .25);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.ribbon {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}
.offer-card h3 {
  font-size: clamp(22px, 5vw, 30px);
  margin-bottom: 6px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 12px;
}
.price strong {
  font-family: var(--font-lat);
  font-size: clamp(40px, 9vw, 56px);
  color: var(--henna);
  line-height: 1;
  font-weight: 700;
}
.price span { font-size: 16px; color: var(--ink-2); font-weight: 700; }
.offer-sub { font-size: 15px; margin-bottom: 18px; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.checklist li {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.checklist strong { font-size: 14px; color: var(--henna); font-weight: 800; }
.checklist span { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }

.pay {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.pay em {
  font-style: normal;
  background: var(--gold-soft);
  color: var(--henna-dark);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 12px;
}

/* ===== Reviews ===== */
.reviews { background: var(--cream-2); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.chat {
  background: #ECE5DD;
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}
.bubble.in { background: #fff; align-self: flex-start; border-top-right-radius: 4px; }
.bubble.out { background: #DCF8C6; align-self: flex-end; border-top-left-radius: 4px; }
.chat-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 700;
}

.review {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.review p { font-size: 15px; margin: 0; color: var(--ink); line-height: 1.8; }
.review footer { font-size: 13px; color: var(--ink-2); font-weight: 700; }

/* ===== FAQ ===== */
.faq { background: #fff; }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-inline: auto;
}
.faq-list details {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 16px 18px;
  border: 1px solid rgba(201, 161, 74, .22);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details[open] {
  background: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  font-weight: 800;
  font-size: 15.5px;
  color: var(--henna);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ===== Final CTA ===== */
.final-cta {
  position: relative;
  isolation: isolate;
  padding: 70px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.final-cta picture, .final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(110, 31, 38, .82), rgba(46, 14, 17, .88));
  z-index: -1;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, .9); max-width: 540px; margin-inline: auto; }
.final-inner { max-width: 580px; margin-inline: auto; }
.final-cta .eyebrow { color: var(--gold-soft); }

/* ===== Footer ===== */
.footer {
  background: #1F1417;
  color: rgba(255, 255, 255, .8);
  padding: 30px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.footer-brand img { border-radius: 50%; }
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
}
.footer-brand small {
  font-family: var(--font-lat);
  font-size: 13px;
  color: var(--gold-soft);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.footer-links a {
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}

/* ===== Sticky CTA (mobile) ===== */
.sticky-cta {
  position: fixed;
  bottom: 14px;
  inset-inline: 14px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--henna);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 16px 36px rgba(88, 26, 32, .42);
  font-weight: 800;
  font-size: 15.5px;
  transition: opacity .22s ease, transform .22s ease, background-color .22s ease;
}
.sticky-cta:hover { background: var(--henna-dark); color: #fff; }
.sticky-cta .ic-wa { width: 20px; height: 20px; }
.sticky-cta small {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, .85);
  margin-inline-start: 6px;
}
.sticky-cta.hidden {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}

/* ===== FAB (desktop) ===== */
.fab-wa {
  display: none;
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 75;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(18, 140, 126, .35);
  transition: transform .2s ease, background-color .2s ease;
}
.fab-wa:hover { background: var(--wa-dark); transform: scale(1.05); color: #fff; }
.fab-wa svg { width: 28px; height: 28px; }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Breakpoints ===== */
@media (min-width: 720px) {
  body { font-size: 17px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .demo-grid { grid-template-columns: repeat(3, 1fr); }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    text-align: start;
    align-items: center;
  }
  .footer-brand { justify-content: flex-start; }
  .footer-copy { text-align: end; }
}

@media (min-width: 920px) {
  .hero { padding: 40px 0 60px; }
  .hero-inner {
    grid-template-columns: 1.04fr .96fr;
    gap: 48px;
  }
  .hero-media { aspect-ratio: 5 / 6; max-height: 640px; }
  .btn-block.wa-link[data-wa="hero"] { width: auto; min-width: 280px; }
  .section { padding: 80px 0; }
  .sticky-cta { display: none; }
  .fab-wa { display: inline-flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 919px) {
  body { padding-bottom: 96px; }
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 30px; }
  .hero-copy .lead { font-size: 15.5px; }
  .checklist { grid-template-columns: 1fr; }
  .badge { padding: 8px 12px; }
  .badge strong { font-size: 18px; }
  .badge span { font-size: 12px; }
}

@media print {
  .nav, .sticky-cta, .fab-wa, .final-cta { display: none !important; }
  body { background: #fff; color: #000; }
}
