/* ==========================================================================
   ترتيل — صفحة المنتج (Landing). يُحمَّل بعد base.css و app.css.
   ========================================================================== */
.lp { position: relative; }
.lp-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.lp section { position: relative; }

/* nav */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 240, 228, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-gold); }
.lp-nav .lp-container { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--wine); }
.lp-brand span.m { width: 44px; height: 44px; display: block; }
.lp-brand svg { width: 44px; height: 44px; }
.lp-brand .brand-logo { width: 44px; height: 44px; object-fit: contain; display: block; }
.hero-logo { display: block; width: 92px; height: 92px; object-fit: contain; background: #fbf5ea; padding: 8px; border-radius: 22px; margin: 0 0 14px; box-shadow: 0 0 0 1px rgba(214, 180, 108, .6), 0 14px 30px -14px rgba(0, 0, 0, .5); }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand .brand-logo { width: 26px; height: 26px; object-fit: contain; }
.lp-brand b { font-family: var(--font-head); font-size: 28px; line-height: 1; }
.lp-brand small { display: block; font-size: 11px; color: var(--ink-2); }
.lp-links { display: flex; gap: 4px; margin-inline-start: auto; }
.lp-links a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; }
.lp-links a:hover { color: var(--wine); background: var(--gold-soft); }
.lp-cta { display: flex; gap: 8px; }
@media (max-width: 980px) { .lp-links { display: none; } .lp-cta { margin-inline-start: auto; } }
@media (max-width: 520px) { .lp-brand small { display: none; } .lp-cta .btn-outline { display: none; } }

/* hero */
.lp-hero { overflow: hidden; color: #f3e6d4; background: linear-gradient(160deg, #82284a 0%, #6e1f35 40%, #4b1425 100%); padding: 70px 0 90px; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: var(--pattern-light) center / 84px 84px; opacity: .14; }
.lp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 44px; background: var(--parchment);
  -webkit-mask: radial-gradient(30px 26px at 30px 0, transparent 98%, #000) 0 0 / 60px 44px repeat-x; mask: radial-gradient(30px 26px at 30px 0, transparent 98%, #000) 0 0 / 60px 44px repeat-x; }
.lp-hero .lp-container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 46px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px; border-radius: 999px; border: 1px solid rgba(214, 180, 108, .6); background: rgba(0, 0, 0, .12); color: #f2d99c; font-size: 13px; }
.hero-kicker::before, .hero-kicker::after { content: ""; width: 9px; height: 9px; background: var(--star-gold) center / contain no-repeat; }
.lp-hero h1 { margin: 18px 0 6px; font-size: clamp(56px, 9vw, 96px); line-height: 1; color: #f2d99c; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.lp-hero h2 { margin: 0 0 16px; font-size: clamp(24px, 3.4vw, 34px); color: #fff6e6; line-height: 1.45; }
.lp-hero p.lead { font-size: 16.5px; line-height: 1.95; color: rgba(243, 230, 212, .88); max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-btns .btn-outline { background: transparent; color: #f3e6d4; border-color: rgba(214, 180, 108, .6); }
.hero-btns .btn-outline:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; font-size: 13px; color: rgba(243, 230, 212, .8); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--gold-2); }

.hero-visual { position: relative; }
.hv-card { position: relative; color: var(--ink); background: var(--paper); border: 1px solid var(--gold); border-radius: 26px; padding: 20px; box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px var(--gold-3), 0 40px 70px -30px rgba(0, 0, 0, .6); }
.hv-card .surah-head { margin-bottom: 12px; }
.hv-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hv-row .grow b { display: block; font-size: 14.5px; }
.hv-row .grow small { color: var(--ink-2); font-size: 12px; }
.hv-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--line-gold); box-shadow: var(--shadow-lg); font-size: 12.5px; max-width: 260px; }
.hv-float b { display: block; font-size: 13px; }
.hv-float small { color: var(--ink-2); }
.hv-float .n-ic { width: 34px; height: 34px; }
.hv-float.f1 { top: -22px; left: -26px; }
.hv-float.f2 { bottom: -26px; right: -18px; }
@media (max-width: 1000px) { .lp-hero .lp-container { grid-template-columns: minmax(0, 1fr); } .hv-float.f1 { left: 8px; } .hv-float.f2 { right: 8px; } }
@media (max-width: 520px) { .lp-hero { padding: 44px 0 80px; } .hv-float { position: static; margin-top: 10px; max-width: none; } .hv-card { padding: 14px; } }

/* section heads */
.lp-sec { padding: 84px 0; }
.lp-sec.alt { background: linear-gradient(180deg, transparent, rgba(239, 226, 214, .55) 18%, rgba(239, 226, 214, .55) 82%, transparent); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head .cartouche { font-size: 15px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 42px); color: var(--wine); margin: 14px 0 8px; }
.sec-head p { color: var(--ink-2); font-size: 16px; line-height: 1.9; margin: 0; }

/* journey: a day in the circle */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.journey::before { content: ""; position: absolute; top: 44px; right: 10%; left: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-2) 0 10px, transparent 10px 18px); }
.j-step { position: relative; text-align: center; padding: 0 6px; }
.j-step .rosette { --rs: 88px; font-size: 30px; background: none; }
.j-step .rosette::before, .j-step .rosette::after { background: var(--paper); border-color: var(--gold); }
.j-ic { position: absolute; top: 58px; left: 50%; margin-left: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: #f2d99c; box-shadow: 0 0 0 3px var(--parchment); }
.j-ic svg { width: 16px; height: 16px; }
.j-step h3 { margin: 16px 0 6px; font-size: 22px; color: var(--wine); }
.j-step p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 900px) {
  .journey { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .journey::before { top: 20px; bottom: 20px; right: 43px; left: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-2) 0 10px, transparent 10px 18px); }
  .j-step { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; text-align: start; padding: 10px 0; align-items: center; }
  .j-step .rosette { grid-row: span 2; }
  .j-step h3 { margin: 0; } .j-ic { display: none; }
}

/* features */
.features { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: 22px; }
.feature .stat-ic { margin-bottom: 10px; }
.feature h3 { font-size: 21px; color: var(--wine); margin: 0 0 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* juz showcase */
.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.showcase h2 { font-size: clamp(28px, 4vw, 40px); color: var(--wine); margin: 12px 0 10px; }
.showcase p { color: var(--ink-2); line-height: 1.9; }
.showcase ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.showcase li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.showcase li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; flex-shrink: 0; background: var(--star-gold) center / contain no-repeat; }
.sc-student { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
@media (max-width: 980px) { .showcase { grid-template-columns: minmax(0, 1fr); } }

/* grade rule */
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.rule-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 10px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.rule-item small { color: var(--ink-2); font-size: 12.5px; }
@media (max-width: 720px) { .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* roles */
.roles { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.role { padding: 20px 16px; text-align: center; }
.role .avatar { margin: 0 auto 10px; width: 60px; height: 60px; font-size: 20px; }
.role h3 { font-size: 19px; margin: 0 0 2px; }
.role small { display: block; color: var(--wine); font-size: 12.5px; margin-bottom: 8px; }
.role p { font-size: 13px; color: var(--ink-2); line-height: 1.8; margin: 0; }
@media (max-width: 1100px) { .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* CTA */
.lp-cta-band { margin: 0 auto 70px; max-width: 1160px; text-align: center; padding: 50px 24px; }
.lp-cta-band h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0; }
.lp-cta-band p { color: rgba(243, 230, 212, .88); max-width: 620px; margin: 0 auto 20px; line-height: 1.9; }
.lp-cta-band .hero-btns { justify-content: center; }

/* footer */
.lp-foot { border-top: 1px solid var(--line-gold); padding: 28px 0 36px; background: rgba(239, 226, 214, .5); }
.lp-foot .lp-container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.lp-foot a { color: var(--ink-2); }
.lp-foot a:hover { color: var(--wine); }
.lp-foot .by { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.lp-foot .by img { height: 20px; width: auto; }
