/* RaffPoint public site · shared by index.html (ar, rtl) and en.html (ltr).
   Logical properties (inline-start/end) so one sheet serves both directions. */
:root {
  --maroon: #8A1538; --maroon-d: #5C0F25; --maroon-l: #A8264D;
  --gold: #C9A24A; --gold-l: #E6CC8A;
  --sand: #F7F1E8; --sand-d: #EFE4D3;
  --ink: #2A2326; --muted: #6E6266; --line: #E6DCD0;
  --card: #FFFFFF; --ok: #1E7B4A;
  --radius: 18px; --shadow: 0 10px 30px rgba(60, 20, 30, .08);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif; font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: "Inter", "Segoe UI", Arial, sans-serif; font-size: 16.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(92, 15, 37, .97); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--gold);
}
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 22px; direction: ltr; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--gold); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; align-items: center; }
.nav a { color: #F3E6EA; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15.5px; }
.nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav .lang { border: 1px solid rgba(255, 255, 255, .35); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 16.5px;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #3b0a19; box-shadow: 0 6px 18px rgba(201, 162, 74, .35); }
.btn-gold:hover { background: #d6b25c; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-l); }
.btn-line { background: #fff; color: var(--maroon); border: 1.5px solid var(--maroon); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #22b85d; }
.btn svg { width: 20px; height: 20px; flex: none; }
.top .btn { padding: 9px 16px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 6px; }

/* ---------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    url("img/mash.svg") repeat,
    radial-gradient(1200px 500px at 85% -10%, #A8264D 0%, transparent 60%),
    linear-gradient(160deg, #6B0F2B 0%, #8A1538 55%, #5C0F25 100%);
  background-size: 64px 64px, auto, auto;
  padding: 64px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 38px; text-align: center; }
.eyebrow {
  display: inline-block; background: rgba(201, 162, 74, .18); color: var(--gold-l);
  border: 1px solid rgba(201, 162, 74, .45); padding: 5px 14px; border-radius: 99px; font-size: 14.5px; font-weight: 700;
}
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.25; margin: 16px auto 14px; max-width: 900px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: #F1DDE3; max-width: 760px; margin: 0 auto 26px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.chips { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; margin: 24px 0 0; padding: 0; list-style: none; color: #F1DDE3; font-size: 15px; }
.chips li::before { content: "✓"; color: var(--gold); font-weight: 800; margin-inline-end: 6px; }
.shot-frame {
  margin: 0 auto; max-width: 1060px; background: #fff; border-radius: 16px 16px 0 0; padding: 10px 10px 0;
  box-shadow: 0 -10px 60px rgba(0, 0, 0, .35);
}
.shot-frame .dots { display: flex; gap: 6px; padding: 2px 6px 9px; direction: ltr; }
.shot-frame .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3D6D9; }
.shot-frame img { border-radius: 8px 8px 0 0; }

/* ---------- sections */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.sec-head .k { color: var(--maroon); font-weight: 800; font-size: 15px; letter-spacing: .3px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.3; margin: 6px 0 12px; color: #3b0a19; }
.sec-head p { color: var(--muted); margin: 0; font-size: 18px; }
.alt { background: #fff; }
.sadu { height: 10px; background: url("img/sadu.svg") repeat-x; background-size: auto 10px; opacity: .9; }

/* problems */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.pain .q { color: #9a2a3f; font-weight: 800; font-size: 19px; margin: 0 0 8px; }
.pain .a { margin: 0; color: var(--muted); }
.pain .a b { color: var(--ink); }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { background: var(--sand); border-radius: var(--radius); padding: 24px; border: 1px solid var(--sand-d); }
.feat .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--maroon); color: #fff; margin-bottom: 14px;
}
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { margin: 0 0 6px; font-size: 19px; color: #3b0a19; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }

/* showcase */
.show { display: grid; grid-template-columns: 1fr 1.35fr; gap: 46px; align-items: center; margin-bottom: 70px; }
.show:last-child { margin-bottom: 0; }
.show.rev .txt { order: 2; }
.show h3 { font-size: clamp(22px, 2.8vw, 30px); margin: 0 0 12px; color: #3b0a19; line-height: 1.35; }
.show ul { margin: 0; padding: 0; list-style: none; }
.show li { padding-inline-start: 30px; position: relative; margin: 0 0 10px; color: #4a3d42; }
.show li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%233b0a19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pic { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(60, 20, 30, .18); border: 1px solid var(--line); background: #fff; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.step::before {
  counter-increment: s; content: counter(s);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; color: #3b0a19; }
.step p { margin: 0; color: var(--muted); }

/* pricing */
.toggle { display: flex; justify-content: center; margin: -18px 0 34px; }
.toggle .sw { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px; }
.toggle button {
  font: inherit; font-weight: 700; font-size: 15.5px; border: 0; background: none; color: var(--muted);
  padding: 8px 20px; border-radius: 99px; cursor: pointer;
}
.toggle button[aria-pressed="true"] { background: var(--maroon); color: #fff; }
.toggle .save { color: var(--ok); font-size: 13px; margin-inline-start: 4px; }
.toggle button[aria-pressed="true"] .save { color: var(--gold-l); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.pop { border: 2px solid var(--maroon); transform: translateY(-8px); }
.plan .tag {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--gold); color: #3b0a19; font-weight: 800; font-size: 13.5px; padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
html[dir="ltr"] .plan .tag { transform: translateX(-50%); }
.plan h3 { margin: 0; font-size: 22px; color: #3b0a19; }
.plan .for { color: var(--muted); margin: 2px 0 18px; font-size: 15.5px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; direction: inherit; }
.price .n { font-size: 46px; font-weight: 800; color: var(--maroon); line-height: 1; }
.price .u { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: 14px; min-height: 22px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0; padding-inline-start: 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 2px; color: var(--ok); font-weight: 800; }
.plan .btn { width: 100%; }
.after-plans { text-align: center; color: var(--muted); margin: 28px auto 0; max-width: 760px; font-size: 15.5px; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17.5px; color: #3b0a19; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--maroon); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.final { background: linear-gradient(140deg, #6B0F2B, #8A1538); color: #fff; text-align: center; border-radius: 26px; padding: 56px 24px; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: url("img/mash.svg"); background-size: 64px; opacity: .6; pointer-events: none; }
.final > * { position: relative; }
.final h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 10px; }
.final p { color: #F1DDE3; margin: 0 auto 26px; max-width: 640px; font-size: 18px; }

/* footer */
footer { background: #2A0A14; color: #D9C4CA; padding: 46px 0 30px; font-size: 15.5px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 16px; }
footer a { color: #F0D9A0; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 6px; }
footer .brand { font-size: 20px; margin-bottom: 8px; }
footer .copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 18px; text-align: center; color: #A38E95; font-size: 14px; }

/* legal pages (privacy, terms) */
.legal-head { background: linear-gradient(160deg, #6B0F2B 0%, #8A1538 55%, #5C0F25 100%); color: #fff; padding: 46px 0 40px; text-align: center; }
.legal-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.legal-head p { margin: 0; color: #F1DDE3; font-size: 15.5px; }
.legal { padding: 50px 0 70px; }
.legal .doc { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; box-shadow: var(--shadow); }
.legal .summary { background: var(--sand); border-inline-start: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin: 0 0 26px; }
.legal .summary p { margin: 0; }
.legal h2 { font-size: 21px; color: #3b0a19; margin: 30px 0 8px; line-height: 1.4; }
.legal h2:first-of-type { margin-top: 6px; }
.legal p, .legal li { color: #4a3d42; }
.legal ul { margin: 0 0 12px; padding-inline-start: 22px; }
.legal li { margin: 0 0 6px; }
.legal .toc { columns: 2; column-gap: 28px; list-style: none; padding: 0; margin: 0 0 6px; font-size: 15.5px; }
.legal .toc li { margin: 0 0 4px; break-inside: avoid; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
.legal .contact-box { margin-top: 30px; padding: 18px 20px; border: 1px dashed var(--maroon); border-radius: 12px; }
.legal .contact-box p { margin: 0 0 4px; }
@media (max-width: 760px) {
  .legal .doc { padding: 22px 18px; border-radius: 14px; }
  .legal .toc { columns: 1; }
}

/* floating whatsapp */
.wa-float {
  position: fixed; bottom: 20px; inset-inline-start: 20px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%; background: #1FA855; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 32px; height: 32px; }

/* ---------- responsive */
@media (max-width: 980px) {
  .grid3, .feats, .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.pop { transform: none; }
  .show, .show.rev { grid-template-columns: 1fr; gap: 24px; }
  .show.rev .txt { order: 0; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
/* the top menu has 9 links: collapse it to the ☰ button below laptop width */
@media (max-width: 1100px) {
  .menu-btn { display: block; margin-inline-start: auto; }
  .nav {
    display: none; position: absolute; top: 69px; inset-inline: 0; flex-direction: column; align-items: stretch;
    background: #5C0F25; padding: 10px 16px 16px; gap: 2px; border-bottom: 3px solid var(--gold);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .btn.hide-sm { display: none; }
  .hero { padding-top: 40px; }
  .cta .btn { width: 100%; }
  section { padding: 60px 0; }
  .grid3, .feats, .steps { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .shot-frame { padding: 6px 6px 0; border-radius: 12px 12px 0 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
