/* المُصلّي — نمط الموقع التعريفي (RTL) */
:root {
  --gold: #a67c28;
  --gold-2: #d4a94a;
  --cream: #fbf5e9;
  --cream-2: #fdf9f0;
  --text: #1a1208;
  --muted: #8b7355;
  --sunset-a: #fad7a1;
  --sunset-b: #e96d71;
  --card-border: rgba(166, 124, 40, 0.18);
  --shadow: 0 18px 40px rgba(166, 124, 40, 0.14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  direction: rtl;
}
a { color: var(--gold); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 245, 233, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.nav-in { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand svg { width: 34px; height: 34px; }
.nav-links { margin-inline-start: auto; display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a:hover { color: var(--gold); }

/* Hero */
.hero {
  text-align: center;
  padding: 84px 0 70px;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(250, 215, 161, 0.55), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
}
.hero .logo {
  width: 110px; height: 110px; margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--sunset-a), var(--sunset-b));
  box-shadow: 0 20px 44px rgba(233, 109, 113, 0.28);
}
.hero .logo svg { width: 64px; height: 64px; }
.hero h1 { font-size: clamp(38px, 7vw, 60px); font-weight: 800; letter-spacing: -1px; }
.hero .sub { color: var(--gold); font-weight: 700; font-size: 20px; margin-top: 6px; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 16px auto 0; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 16px; font-weight: 700; font-size: 15px;
  background: var(--text); color: #fff;
}
.badge.ghost { background: #fff; color: var(--text); border: 1px solid var(--card-border); }
.badge small { display: block; font-size: 11px; opacity: .7; font-weight: 500; }
.badge svg { width: 22px; height: 22px; }

/* Sections */
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; }
.section-title p { color: var(--muted); margin-top: 10px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--card-border);
  border-radius: 20px; padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card .ic {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(166, 124, 40, 0.1); margin-bottom: 16px; font-size: 26px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }

/* Premium banner */
.premium {
  background: linear-gradient(135deg, var(--sunset-a), var(--sunset-b));
  border-radius: 26px; padding: 48px 30px; text-align: center; color: #fff;
  box-shadow: 0 24px 50px rgba(233, 109, 113, 0.25);
}
.premium h2 { font-size: 30px; font-weight: 800; }
.premium p { margin-top: 10px; font-size: 17px; opacity: .95; }
.premium .pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.premium .pill { background: rgba(255,255,255,.2); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }

/* Footer */
footer {
  background: var(--text); color: #d9cdba; padding: 50px 0 34px; margin-top: 20px;
}
footer .brand { color: #fff; }
footer .cols { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
footer .flinks { margin-inline-start: auto; display: flex; gap: 24px; flex-wrap: wrap; }
footer a { color: #d9cdba; }
footer a:hover { color: #fff; }
footer .copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 20px; font-size: 14px; color: #9c8f7c; text-align: center; }

/* Legal (privacy / terms) */
.legal { padding: 60px 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 34px; font-weight: 800; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 34px 0 12px; color: var(--gold); }
.legal p, .legal li { color: #45392a; font-size: 16px; }
.legal ul { padding-inline-start: 22px; margin: 10px 0; }
.legal li { margin-bottom: 8px; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }
.legal .box { background:#fff; border:1px solid var(--card-border); border-radius:16px; padding:18px 22px; margin-top:20px; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  section { padding: 52px 0; }
}
