/* ============ Murojaah — landing page ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 223, 208, .8);
}
.nav { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--brand), #0a5646);
  display: grid; place-items: center; color: #f6e7bd; flex: none;
  box-shadow: 0 4px 12px rgba(13, 107, 87, .28);
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--cream-2); color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: 58px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(60% 60% at 70% 20%, rgba(13, 107, 87, .1), transparent 70%),
              radial-gradient(45% 45% at 15% 5%, rgba(191, 150, 54, .12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 57px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 16px 0 0;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em;
  background: linear-gradient(90deg, rgba(191, 150, 54, .38), rgba(191, 150, 54, .1));
  border-radius: 4px; z-index: -1;
}
.hero p.lead { font-size: 17.5px; color: var(--ink-soft); margin: 20px 0 0; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 122, 92, .14); flex: none; }

.stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.stats b { display: block; font-size: 25px; letter-spacing: -.02em; }
.stats span { font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

/* phone mock */
.mock-stage { position: relative; display: flex; justify-content: center; }
.mock-stage::before {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 107, 87, .12), transparent 65%);
  filter: blur(6px); top: 40px;
}
.phone {
  position: relative; width: 322px; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #16342c, #0b1f1a);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-screen { background: var(--cream); border-radius: 28px; overflow: hidden; }
.phone-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 8px; font-size: 11.5px; font-weight: 700; color: var(--muted);
}
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
}
.chip-gold { background: var(--gold-soft); color: #8a6a12; }
.q-card { margin: 6px 14px 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.q-meta { font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.q-arabic { font-family: var(--arabic); direction: rtl; font-size: 21px; line-height: 1.95; margin-top: 8px; color: #12261f; }
.opt {
  display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 12px;
}
.opt .ar { font-family: var(--arabic); direction: rtl; font-size: 15px; line-height: 1.7; }
.opt.ok { border-color: #b9e0d0; background: #f0faf6; }
.opt .k { width: 17px; height: 17px; border-radius: 6px; background: var(--cream-2); display: grid; place-items: center; font-size: 9.5px; font-weight: 800; color: var(--muted); flex: none; }
.opt.ok .k { background: var(--ok); color: #fff; }
.phone-foot { display: flex; gap: 6px; padding: 10px 14px 16px; }
.phone-foot i { height: 4px; border-radius: 3px; background: #ded6c4; flex: 1; }
.phone-foot i.on { background: var(--brand); }

.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 9px 13px; box-shadow: var(--shadow); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 8px; animation: floaty 6s ease-in-out infinite;
}
.float-badge.a { top: 26px; left: -6px; }
.float-badge.b { bottom: 42px; right: -14px; animation-delay: -3s; }
.float-badge small { display: block; font-weight: 600; color: var(--muted); font-size: 10.5px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock-stage { order: -1; }
  .phone { width: 290px; }
  .float-badge.a { left: 0; } .float-badge.b { right: 0; }
}

/* section shell */
.section { padding: 76px 0; }
.section.tight { padding: 54px 0; }
.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.03em; margin: 12px 0 0; font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 16px; margin: 14px 0 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* problem cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.ico.gold { background: var(--gold-soft); color: #96731a; }
.ico.rose { background: #fbeae6; color: var(--danger); }

@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }

/* games */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.game-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8cfb9; }
.game-card .num {
  font-family: var(--arabic); font-size: 24px; color: var(--gold); width: 34px; text-align: center; flex: none; line-height: 1.4;
}
.game-card h3 { margin: 0 0 4px; font-size: 16.5px; }
.game-card p { margin: 0; font-size: 14px; color: var(--muted); }
.game-card .tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; }
@media (max-width: 780px) { .games { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; counter-reset: s; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: '0' counter(s);
  position: absolute; top: -14px; left: 0; background: var(--cream); padding-right: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--gold);
}
.step h3 { margin: 8px 0 6px; font-size: 16.5px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* pricing */
.pricing { display: grid; grid-template-columns: 1fr 1.08fr; gap: 20px; margin-top: 42px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.plan.pro {
  background: linear-gradient(170deg, #0d5c4b, #083a30 65%);
  color: #f3f7f5; border-color: #0b4a3c;
  box-shadow: 0 24px 60px rgba(8, 58, 48, .34);
}
.plan.pro .plan-desc, .plan.pro li span { color: #b9d3ca; }
.plan.pro .plan-name { color: #f6e7bd; }
.plan-badge {
  position: absolute; top: -13px; right: 24px; background: linear-gradient(180deg, #e3bd66, var(--gold));
  color: #3a2a06; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; box-shadow: 0 6px 16px rgba(191, 150, 54, .4);
}
.plan-name { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.plan-price { display: flex; align-items: flex-end; gap: 6px; margin: 10px 0 2px; }
.plan-price b { font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.plan-price span { font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.plan.pro .plan-price span { color: #9fc0b6; }
.plan-desc { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.plan li svg { flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; }
.plan.pro .plan-foot { color: #9fc0b6; }
.price-strike { text-decoration: line-through; opacity: .55; font-size: 15px; margin-left: 8px; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

/* faq */
.faq { margin-top: 34px; display: grid; gap: 10px; max-width: 820px; }
details.qa {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 2px 20px;
  box-shadow: var(--shadow-sm);
}
details.qa summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 15.5px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; font-size: 20px; color: var(--brand); font-weight: 400; line-height: 1; }
details.qa[open] summary::after { content: '−'; }
details.qa p { margin: 0 0 18px; color: var(--ink-soft); font-size: 14.5px; }

/* cta band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 26px; padding: 48px;
  background: linear-gradient(135deg, #0e6350, #07382e);
  color: #fff; box-shadow: 0 30px 70px rgba(8, 58, 48, .3);
  display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; letter-spacing: -.03em; line-height: 1.15; }
.cta-band p { margin: 12px 0 0; color: #c3dbd3; font-size: 15px; max-width: 520px; }
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px;
  border: 1px solid rgba(246, 231, 189, .18); border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(246, 231, 189, .06), 0 0 0 90px rgba(246, 231, 189, .04);
}
.cta-actions { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; padding: 32px; } }

/* footer */
.site-footer { padding: 56px 0 34px; border-top: 1px solid var(--line); margin-top: 76px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.foot-grid p { font-size: 14px; color: var(--muted); max-width: 330px; }
.foot-col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.foot-col a { display: block; font-size: 14.5px; padding: 5px 0; color: var(--ink-soft); }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.wa-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ok); }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* floating whatsapp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  background: #1fa855; color: #fff; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px rgba(31, 168, 85, .38); transition: transform .18s, box-shadow .18s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(31, 168, 85, .46); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
