/* Do Pro — Specialty Landing Pages
   Shared token system. Palette extends the main site's dark teal
   (theme-color #0B211C) with a warm bronze accent instead of the
   generic terracotta. Two type roles: Cairo (display) / Tajawal (body). */

:root {
  --ink: #0B211C;
  --teal-deep: #123832;
  --teal: #1F5C4E;
  --teal-soft: #E4EEEA;
  --bronze: #B8823C;
  --bronze-deep: #8A5E24;
  --cream: #FAF6EF;
  --paper: #FFFFFF;
  --text: #16231F;
  --text-muted: #5B6B65;
  --line: #E4DDCF;

  --font-display: 'Cairo', 'Tahoma', sans-serif;
  --font-body: 'Tajawal', 'Tahoma', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.brand .brand-logo { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--text-muted); }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }
.nav-back { font-size: 13px; color: var(--text-muted); }
.nav-lang-group { display: flex; align-items: center; gap: 14px; }
.nav-lang {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.nav-lang:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--teal-deep) 100%);
  color: #F4F1E8;
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bronze);
  background: rgba(184, 130, 60, 0.14);
  border: 1px solid rgba(184, 130, 60, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--bronze); }
.hero p.lead {
  font-size: 18px;
  color: #C9D3CE;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--bronze); color: #1A1206; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184,130,60,.35); }
.btn-ghost { background: transparent; color: #F4F1E8; border: 1px solid rgba(244,241,232,.35); }
.btn-ghost:hover { border-color: #F4F1E8; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: #9FB0A8; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }

/* Signature visual slot (overridden per-page) */
.hero-visual { position: relative; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker {
  font-size: 13px; font-weight: 800; color: var(--bronze-deep);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; display:block;
}
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 16.5px; }

/* Before/after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.compare-card.bad { border-color: #E9D9D2; }
.compare-card.good { border-color: var(--teal-soft); background: linear-gradient(180deg, #fff, #F5F9F6); }
.compare-card h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 15px; }
.mark { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; margin-top:1px;}
.bad .mark { background: #F3E4DD; color: #A85A3B; }
.good .mark { background: var(--teal-soft); color: var(--teal); }

/* Feature grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature-card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--bronze-deep); margin-bottom: 14px; display:block;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* Pricing */
.pricing-wrap { display: flex; justify-content: center; }
.price-card {
  background: linear-gradient(180deg, var(--ink), var(--teal-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 460px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.price-card .tag {
  display: inline-block; background: rgba(184,130,60,.18); color: var(--bronze);
  border: 1px solid rgba(184,130,60,.4); font-size: 12.5px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.price-card h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.price-card .sub { color: #A9BAB2; font-size: 14px; margin-bottom: 24px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price-row .amount { font-family: var(--font-display); font-size: 46px; font-weight: 800; }
.price-row .unit { color: #A9BAB2; font-size: 15px; }
.price-annual { font-size: 13.5px; color: #9FB0A8; margin-bottom: 28px; }
.price-list { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; color: #DCE5DF; align-items: flex-start; }
.price-list .mark { background: rgba(184,130,60,.2); color: var(--bronze); }
.price-card .btn-primary { width: 100%; justify-content: center; }
.price-note { text-align: center; font-size: 12.5px; color: #8FA098; margin-top: 16px; }

/* Three-plan ladder on the solo pages */
.pricing-wrap { gap: 18px; align-items: stretch; flex-wrap: wrap; }
.pricing-wrap .price-card {
  flex: 1 1 280px; max-width: 380px; padding: 30px 26px;
  display: flex; flex-direction: column;
}
.pricing-wrap .price-card .price-list { flex: 1; }
.pricing-wrap .price-card .sub { margin-bottom: 18px; min-height: 40px; }
.price-card.featured { border: 2px solid var(--bronze); box-shadow: 0 0 0 5px rgba(184,130,60,.14); }
.price-card .pop {
  position: absolute; top: 16px; inset-inline-end: 16px;
  background: var(--bronze); color: #1A1206; font-size: 11px; font-weight: 800;
  padding: 3px 10px; border-radius: 999px; margin: 0;
}
@media (max-width: 860px) {
  .pricing-wrap { flex-direction: column; align-items: center; }
  .pricing-wrap .price-card { max-width: 420px; }
}

/* FAQ */
.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16.5px;
  color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--bronze); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-muted); margin: 14px 0 0; font-size: 15px; max-width: 620px; }

/* Final CTA */
.cta-band {
  background: var(--teal-soft);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--ink); color: #fff; }
.cta-band .btn-primary:hover { background: var(--teal); }

/* Footer */
footer { background: var(--ink); color: #9FB0A8; padding: 48px 0 28px; font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer a:hover { color: #fff; }
.foot-links { display: flex; gap: 20px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .compare, .features-grid, .steps { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; text-align: center; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1F5C4E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 24px rgba(11,33,28,.28);
  transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); }

/* ---------- Mobile sticky CTA bar ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.sticky-cta .btn-primary { flex: 1; justify-content: center; padding: 13px 18px; }
.sticky-cta .wa-mini {
  width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft);
  color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0;
}

@media (max-width: 640px) {
  .wa-float { display: none; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Product tour ---------- */
.tour-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; margin-top: 32px; }
.tour-shots figure { margin: 0; }
.tour-shots img { width: 100%; display: block; border-radius: var(--radius); border: 1px solid var(--line); cursor: zoom-in; }
.tour-shots figcaption { margin-top: 8px; text-align: center; font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .tour-shots { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 20, 17, 0.92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); }
.lightbox .lb-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; background: rgba(0, 0, 0, 0.45); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.lightbox .lb-close {
  position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.08); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}
