/* ===== Avocado — public landing page (RTL, Cairo, Bootstrap 5.3) ===== */
:root {
  --g: #1f7a4d; --g2: #2f9e68; --g-dark: #15563a; --g-deep: #0f2a21; --g-ink: #14352a; --g-soft: #e6f4ec;
  --gold: #c9a227; --gold-dark: #a9871c; --gold-soft: #fbf4dc;
  --ink: #122019; --muted: #5f6f68; --line: #e3ebe6; --soft: #f4f8f5;
  --wa: #25d366; --wa-dark: #1ebe5a;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(16, 40, 28, .10);
  --shadow-lg: 0 30px 60px rgba(16, 40, 28, .25);
  --bs-font-sans-serif: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-success: var(--g); --bs-success-rgb: 31, 122, 77;
  --bs-link-color: var(--g); --bs-link-hover-color: var(--g-dark);
  --bs-link-color-rgb: 31, 122, 77; --bs-link-hover-color-rgb: 21, 86, 58;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Cairo', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.75; overflow-x: clip; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.3; }
.num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.container { padding-inline: 1rem; }
@media (min-width: 576px) { .container { padding-inline: .75rem; } }

/* buttons */
.btn { font-weight: 700; border-radius: .7rem; }
.btn-success { --bs-btn-bg: var(--g); --bs-btn-border-color: var(--g); --bs-btn-hover-bg: var(--g-dark); --bs-btn-hover-border-color: var(--g-dark); --bs-btn-active-bg: var(--g-dark); --bs-btn-active-border-color: var(--g-dark); }
.btn-outline-success { --bs-btn-color: var(--g); --bs-btn-border-color: var(--g); --bs-btn-hover-bg: var(--g); --bs-btn-hover-border-color: var(--g); --bs-btn-active-bg: var(--g); --bs-btn-active-border-color: var(--g); }
.btn-gold { --bs-btn-bg: var(--gold); --bs-btn-border-color: var(--gold); --bs-btn-color: #1a1607; --bs-btn-hover-bg: #dcb43a; --bs-btn-hover-border-color: #dcb43a; --bs-btn-hover-color: #1a1607; --bs-btn-active-bg: var(--gold-dark); --bs-btn-active-border-color: var(--gold-dark); --bs-btn-active-color: #fff; box-shadow: 0 8px 20px rgba(201, 162, 39, .35); }
.btn-wa { --bs-btn-bg: var(--wa); --bs-btn-border-color: var(--wa); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--wa-dark); --bs-btn-hover-border-color: var(--wa-dark); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--wa-dark); --bs-btn-active-border-color: var(--wa-dark); --bs-btn-active-color: #fff; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1.05rem; }

/* ---------- navbar ---------- */
.lp-nav { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid rgba(20, 53, 42, .08); transition: box-shadow .25s; padding: .55rem 0; }
.lp-nav.scrolled { box-shadow: 0 6px 24px rgba(16, 40, 28, .10); }
.lp-nav .navbar-brand { font-weight: 800; color: var(--g-ink); font-size: 1.35rem; letter-spacing: .2px; }
.lp-nav .navbar-brand img { width: 38px; height: 38px; }
.lp-nav .nav-link { color: #2d3b35; font-weight: 600; padding: .5rem .8rem; border-radius: .6rem; }
.lp-nav .nav-link:hover, .lp-nav .nav-link.active { color: var(--g); background: var(--g-soft); }
.lp-nav .navbar-toggler { border-color: rgba(20, 53, 42, .15); }
.lp-nav .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(31, 122, 77, .2); }
.lp-nav-actions .btn { white-space: nowrap; }
.lp-nav-actions .lp-staff { --bs-btn-color: #7a8681; --bs-btn-border-color: #cfd8d3; --bs-btn-hover-bg: #eef2f0; --bs-btn-hover-color: #2d3b35; --bs-btn-hover-border-color: #cfd8d3; font-weight: 600; font-size: .8rem; }
@media (max-width: 991.98px) { .lp-nav .navbar-collapse { padding: .75rem 0 .5rem; } .lp-nav-actions { padding-top: .75rem; margin-top: .5rem; border-top: 1px solid var(--line); } }

/* ---------- hero ---------- */
.lp-hero { position: relative; color: #fff; padding: 4.5rem 0 7rem; overflow: hidden; background: radial-gradient(900px 500px at 85% -10%, rgba(47, 158, 104, .75) 0%, transparent 60%), radial-gradient(600px 400px at 5% 110%, rgba(201, 162, 39, .28) 0%, transparent 60%), linear-gradient(160deg, var(--g-deep) 0%, var(--g-ink) 45%, var(--g) 100%); }
.lp-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%); pointer-events: none; }
.lp-hero .container { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); color: #e9f5ee; border-radius: 999px; padding: .3rem .9rem; font-size: .88rem; font-weight: 600; margin-bottom: 1.1rem; }
.hero-eyebrow .bi { color: var(--gold); }
.hero-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.85rem); font-weight: 800; line-height: 1.35; margin-bottom: 1rem; }
.hero-title .hl { background: linear-gradient(90deg, #f3d77a, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.1rem; color: rgba(255, 255, 255, .85); max-width: 560px; margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-cta .btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .55); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 600; }
.trust .bi { color: var(--gold); margin-inline-end: .35rem; }
@media (max-width: 991.98px) { .hero-copy { text-align: center; } .hero-sub { margin-inline: auto; } .hero-cta, .trust { justify-content: center; } .lp-hero { padding: 3rem 0 6rem; } }

/* device mockups (pure CSS) */
.mock-wrap { position: relative; padding: 0 0 5% 0; }
.laptop { margin-left: 16%; padding: 0 3%; position: relative; }
.laptop .screen { background: #0b1f17; border-radius: 16px 16px 4px 4px; padding: 12px 12px 0; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.laptop .screen::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #2a4a3c; margin: -4px auto 6px; }
.laptop .screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; border-radius: 6px 6px 0 0; background: #f8f9fa; }
.laptop .base { height: 16px; margin: 0 -3%; background: linear-gradient(#e6eaec, #b7c0c5); border-radius: 0 0 14px 14px; position: relative; box-shadow: 0 18px 30px rgba(0, 0, 0, .35); }
.laptop .base::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18%; height: 5px; background: #98a3a9; border-radius: 0 0 6px 6px; }
.phone { position: absolute; left: 0; bottom: -2%; width: 23%; background: #0b1f17; border-radius: 12% / 6%; padding: 3.2% 2.6%; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .10); animation: phone-float 6s ease-in-out infinite; }
.phone::before { content: ''; position: absolute; top: 1.6%; left: 50%; transform: translateX(-50%); width: 34%; height: 2.2%; background: #0b1f17; border-radius: 999px; z-index: 2; box-shadow: 0 0 0 2px #0b1f17; }
.phone img { display: block; width: 100%; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; border-radius: 10% / 4.5%; background: #f8f9fa; }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- stats strip ---------- */
.lp-stats { position: relative; z-index: 2; margin-top: -3.75rem; }
.stat-card { background: #fff; border-radius: 1.25rem; box-shadow: var(--shadow-lg); padding: 1.25rem 1rem; border: 1px solid rgba(20, 53, 42, .06); }
.stat { text-align: center; padding: .5rem .25rem; }
.stat-num { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; color: var(--g); line-height: 1.15; }
.stat-label { color: var(--muted); font-weight: 600; font-size: .95rem; }
.stat .bi { color: var(--gold); font-size: 1.15rem; display: block; margin-bottom: .1rem; }
@media (min-width: 768px) { .stat + .stat, .col-md-3 + .col-md-3 .stat { border-inline-start: 1px solid var(--line); } }

/* ---------- sections ---------- */
.lp-section { padding: 5rem 0; }
.lp-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.section-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-block; background: var(--g-soft); color: var(--g); font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .2rem .9rem; margin-bottom: .75rem; }
@media (max-width: 767.98px) { .lp-section { padding: 3.5rem 0; } .section-head { margin-bottom: 2rem; } }

/* features */
.feature { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.feature::after { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--g2), var(--g)); opacity: 0; transition: opacity .25s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(31, 122, 77, .35); }
.feature:hover::after { opacity: 1; }
.f-icon { width: 54px; height: 54px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: var(--g-soft); color: var(--g); font-size: 1.55rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* screenshots */
.shot-tabs { display: flex; flex-wrap: nowrap; gap: .4rem; overflow-x: auto; padding: .35rem .25rem .6rem; margin-bottom: 1.5rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
@media (min-width: 992px) { .shot-tabs { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.shot-tabs .nav-link { white-space: nowrap; color: #2d3b35; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1rem; }
.shot-tabs .nav-link:hover { border-color: var(--g); color: var(--g); }
.shot-tabs .nav-link.active { background: var(--g); border-color: var(--g); color: #fff; }
.shot-frame { margin: 0 auto; max-width: 1060px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(20, 53, 42, .08); }
.shot-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .9rem; background: #f1f4f2; border-bottom: 1px solid var(--line); }
.shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: #d4dbd7; }
.shot-bar span:nth-child(1) { background: #f0857b; } .shot-bar span:nth-child(2) { background: #f4c46a; } .shot-bar span:nth-child(3) { background: #7ccf8f; }
.shot-bar em { font-style: normal; font-size: .8rem; color: var(--muted); margin-inline-start: auto; margin-inline-end: auto; background: #fff; border-radius: 6px; padding: .05rem 1rem; }
.shot-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top right; background: #f8f9fa; }
.shot-frame figcaption { padding: .8rem 1rem; text-align: center; color: var(--muted); font-weight: 600; border-top: 1px solid var(--line); background: #fff; }
.shot-frame.missing img { display: none; }
.shot-frame.missing::before { content: 'لقطة الشاشة غير متاحة حاليًا'; display: block; padding: 4rem 1rem; text-align: center; color: var(--muted); }

/* how it works */
.steps { position: relative; }
.step { height: 100%; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.4rem 1.6rem; position: relative; }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--g2), var(--g)); color: #fff; font-weight: 800; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(31, 122, 77, .35); margin-bottom: 1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (min-width: 768px) { .steps > [class*='col-']:not(:last-child) .step::after { content: ''; position: absolute; top: 3.9rem; inset-inline-end: -1.6rem; width: 1.6rem; border-top: 2px dashed #b9d3c4; } }

/* comparison */
.lp-dark { background: radial-gradient(700px 400px at 100% 0%, rgba(47, 158, 104, .45) 0%, transparent 60%), linear-gradient(160deg, var(--g-deep), var(--g-ink)); color: #fff; }
.lp-dark .section-head h2 { color: #fff; }
.lp-dark .section-head p { color: rgba(255, 255, 255, .78); }
.lp-dark .eyebrow { background: rgba(255, 255, 255, .12); color: #f3d77a; }
.compare { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 110px 110px; align-items: center; padding: .8rem 1.1rem; border-top: 1px solid rgba(255, 255, 255, .08); font-weight: 600; }
.compare-row:first-child { border-top: 0; background: rgba(255, 255, 255, .08); font-weight: 800; font-size: .95rem; }
.compare-row > span:not(:first-child) { text-align: center; }
.compare-row .c-av img { width: 22px; height: 22px; vertical-align: -5px; margin-inline-end: .3rem; }
.compare-row .yes { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--g2); color: #fff; }
.compare-row .no { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255, 255, 255, .10); color: #f0857b; }
@media (max-width: 575.98px) { .compare-row { grid-template-columns: 1fr 72px 72px; padding: .7rem .75rem; font-size: .88rem; } }
.compare-phone { display: flex; justify-content: center; }
.compare-phone .phone { position: static; width: 250px; max-width: 70%; animation: none; }

/* faq */
.faq .accordion-item { border: 1px solid var(--line); border-radius: .9rem !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-weight: 700; color: var(--ink); padding: 1rem 1.2rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--g-soft); color: var(--g); }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(31, 122, 77, .15); }
.faq .accordion-button::after { filter: grayscale(1); }
.faq .accordion-button:not(.collapsed)::after { filter: none; }
.faq .accordion-body { color: var(--muted); padding: .9rem 1.2rem 1.2rem; }

/* contact / cta */
.contact-card { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2.75rem 2rem; color: #fff; background: radial-gradient(500px 300px at 0% 100%, rgba(201, 162, 39, .35) 0%, transparent 60%), linear-gradient(135deg, var(--g), var(--g2)); box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.contact-card p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; }
.contact-card .btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .6); }
.contact-card .btn .num { font-weight: 700; margin-inline-start: .35rem; }
.contact-meta { color: rgba(255, 255, 255, .85); font-size: .9rem; }
@media (max-width: 575.98px) { .contact-card { padding: 2rem 1.25rem; } .lp-footer { padding-bottom: 5.5rem; } }

/* footer */
.lp-footer { background: var(--g-deep); color: rgba(255, 255, 255, .75); padding: 2.5rem 0 1.5rem; font-size: .92rem; }
.lp-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-footer .brand { color: #fff; font-weight: 800; font-size: 1.2rem; }
.lp-footer .brand img { width: 30px; height: 30px; vertical-align: -8px; margin-inline-end: .4rem; }
.lp-footer .links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.lp-footer hr { border-color: rgba(255, 255, 255, .15); opacity: 1; }
.lp-footer .geo { color: #f3d77a; font-weight: 700; }

/* floating whatsapp */
.wa-fab { position: fixed; left: 16px; bottom: 16px; z-index: 1030; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .45); transition: transform .2s, background .2s; }
.wa-fab:hover { background: var(--wa-dark); color: #fff; transform: translateY(-3px); }

/* reveal animations (only when JS is present) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay='1'] { transition-delay: .08s; } .js .reveal[data-delay='2'] { transition-delay: .16s; } .js .reveal[data-delay='3'] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .phone { animation: none; }
  .feature, .wa-fab { transition: none; }
}

/* print: never hide revealed content */
@media print { .js .reveal { opacity: 1; transform: none; } .wa-fab, .lp-nav { display: none; } }

/* pricing */
.price-card { max-width: 540px; background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 2.25rem 1.75rem 1.75rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--gold), var(--g), var(--g2)); }
.price-name { font-weight: 800; font-size: 1.15rem; color: var(--g); margin-bottom: .35rem; }
.price-amount { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1.2; color: var(--ink); }
.price-amount .price-cur { font-size: 1.15rem; color: var(--muted); font-weight: 700; }
.price-amount .price-period { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.price-list { list-style: none; padding: 1.25rem 0 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.price-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; font-weight: 600; }
.price-list .bi { color: var(--g2); flex: 0 0 auto; margin-top: .3rem; }
.price-secure { text-align: center; color: var(--muted); font-size: .85rem; margin-top: .9rem; }
@media (max-width: 575.98px) { .price-card { padding: 2rem 1.25rem 1.5rem; } }

/* navbar: compact between lg and xl so the four action buttons stay on one row */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .lp-nav .navbar-brand { font-size: 1.15rem; }
  .lp-nav .navbar-brand img { width: 32px; height: 32px; }
  .lp-nav .nav-link { padding: .4rem .45rem; font-size: .88rem; }
  .lp-nav-actions { gap: .35rem !important; }
  .lp-nav-actions .btn { font-size: .84rem; padding: .35rem .6rem; }
  .lp-nav-actions .btn .bi { display: none; }
  .lp-nav-actions .lp-staff { font-size: .74rem; padding: .3rem .45rem; }
}
