/* Noor — site styles. Single file, no frameworks, dark emerald identity
   matching the app's default "Emerald Night" theme. */

:root {
  --bg-top: #0a2e24;
  --bg-bottom: #04100d;
  --card: rgba(255, 255, 255, 0.05);
  --card-stroke: rgba(255, 255, 255, 0.09);
  --text: #eef7f2;
  --text-soft: #a8c3b8;
  --text-faint: #6f8d82;
  --accent: #2edb8a;
  --accent-bright: #7cf2be;
  --gold: #e7c36b;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 20% -10%, var(--bg-top), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 70%);
  background-color: var(--bg-bottom);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(4, 16, 13, 0.72);
  border-bottom: 1px solid var(--card-stroke);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 24px;
  max-width: 980px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #155c45, #04100d);
  border: 1px solid rgba(46, 219, 138, 0.35);
}

nav.links {
  margin-left: auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

nav.links a:hover,
nav.links a.active { color: var(--accent-bright); }

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  padding: 88px 0 64px;
}

.hero .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(46, 219, 138, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 .arabic {
  display: block;
  font-weight: 500;
  font-size: clamp(22px, 4vw, 32px);
  color: var(--accent-bright);
  margin-top: 10px;
}

.hero p.sub {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--text-soft);
  font-size: 18px;
}

.cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn.primary {
  color: #04100d;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 8px 30px rgba(46, 219, 138, 0.35);
}

.btn.ghost {
  color: var(--text);
  border: 1px solid var(--card-stroke);
  background: var(--card);
}

/* ---------- Sections & cards ---------- */

section { padding: 56px 0; }

h2.section {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

p.section-sub {
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.card h3 .ico {
  color: var(--accent);
  font-style: normal;
}

.card p { color: var(--text-soft); font-size: 15px; }

.card.wide { grid-column: span 2; }

@media (max-width: 640px) {
  .card.wide { grid-column: span 1; }
}

/* ---------- FAQ ---------- */

details.faq {
  background: var(--card);
  border: 1px solid var(--card-stroke);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

details.faq[open] summary::after { content: "–"; }

details.faq .answer {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 15px;
}

/* ---------- Legal / policy ---------- */

.policy h2 {
  font-size: 21px;
  margin: 34px 0 10px;
  color: var(--accent-bright);
}

.policy h3 {
  font-size: 16px;
  margin: 22px 0 6px;
}

.policy p, .policy li {
  color: var(--text-soft);
  font-size: 15.5px;
}

.policy ul { padding-left: 22px; margin: 8px 0; }

.policy .meta {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 26px;
}

.updated {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--card-stroke);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ---------- Contact strip ---------- */

.contact-strip {
  border: 1px solid rgba(231, 195, 107, 0.35);
  background: rgba(231, 195, 107, 0.07);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 40px 0 10px;
}

.contact-strip a { color: var(--gold); font-weight: 600; }

/* ---------- Footer ---------- */

footer.site {
  border-top: 1px solid var(--card-stroke);
  margin-top: 60px;
  padding: 28px 0 44px;
}

footer.site .inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 14px;
}

footer.site a { color: var(--text-soft); text-decoration: none; }
footer.site a:hover { color: var(--accent-bright); }
