@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  --bg:       #0b1810;
  --bg-mid:   #101e15;
  --bg-card:  #162018;
  --gold:     #c9a84c;
  --gold-lt:  #dfc068;
  --cream:    #e8dfc8;
  --muted:    #a89e84;
  --dim:      #5e5848;
  --nav-h:    70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: rgba(11,24,16,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  z-index: 999;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.nav-brand-name {
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: .03em;
}
.nav-brand-sub {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--bg) !important;
  padding: .45rem 1.1rem !important;
  border-radius: 2px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); transition: .3s; }

/* ── LAYOUT ── */
.page { padding-top: var(--nav-h); min-height: 100vh; }

section { padding: 6rem 6%; }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-sm { max-width: 720px; margin: 0 auto; }

/* ── TYPE ── */
h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--cream);
}
h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
h3 {
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: .5rem;
}
p { color: var(--muted); font-size: 1.02rem; margin-bottom: .9rem; }

.eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.rule {
  width: 44px; height: 2px;
  background: var(--gold);
  margin: 1.2rem 0;
  opacity: .55;
}
.arabic {
  font-family: 'Amiri', serif;
  font-size: 1.7rem;
  color: var(--gold);
  opacity: .75;
  direction: rtl;
  display: block;
  margin-bottom: .8rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .72rem 1.8rem;
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: all .22s;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: rgba(201,168,76,.08); transform: translateY(-2px); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 4px;
  padding: 2rem;
  transition: border-color .3s;
}
.card:hover { border-color: rgba(201,168,76,.35); }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem; align-items: center; }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 0 6%;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  background: url('masjid.jpg') center/cover no-repeat;
  filter: brightness(.22) saturate(.6);
  z-index: 0;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11,24,16,.92) 45%, rgba(11,24,16,.3));
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-content h1 { margin-bottom: .8rem; }
.hero-content .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 5rem 6% 4rem;
  background: var(--bg-mid);
  border-bottom: 1px solid rgba(201,168,76,.08);
}

/* ── SCREENSHOT ── */
.screenshot {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(201,168,76,.18);
  box-shadow: 0 32px 64px rgba(0,0,0,.55);
  display: block;
}

/* ── FEATURES ── */
.feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.feature-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 18px; height: 18px; fill: var(--gold); }

/* ── STATS ── */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); }
.stat {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(201,168,76,.1);
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Amiri', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: .4rem;
}
.stat-l {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── FORM ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-full { grid-column: 1 / -1; }
.form-group { margin-bottom: 0; }
label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
input, textarea, select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 2px;
  padding: .7rem 1rem;
  color: var(--cream);
  font-family: 'Raleway', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
textarea { resize: vertical; min-height: 130px; }
.form-submit { margin-top: 1.5rem; }

/* ── QUOTE ── */
.blockquote {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(201,168,76,.04);
}
.blockquote p { font-style: italic; margin-bottom: 0; }

/* ── PATTERN BG ── */
.has-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 0l7 7-7 7-7-7zM0 28l7-7 7 7-7 7zM56 28l-7-7-7 7 7 7zM28 56l-7-7 7-7 7 7z' fill='%23c9a84c' fill-opacity='0.035'/%3E%3C/svg%3E");
}

/* ── FOOTER ── */
footer {
  background: #070e09;
  border-top: 1px solid rgba(201,168,76,.12);
  padding: 3.5rem 6%;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  color: var(--gold);
  text-decoration: none;
}
.footer-nav { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .07em;
  color: var(--dim);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-tagline {
  width: 100%;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  padding-top: 1.5rem;
  margin-top: .5rem;
  border-top: 1px solid rgba(201,168,76,.07);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(201,168,76,.1); }
  .stat:last-child { border-bottom: none; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    padding: 1.5rem 6%;
    border-bottom: 1px solid rgba(201,168,76,.15);
    gap: 1rem;
  }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

@keyframes fadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
.fu  { animation: fadeUp .8s ease both; }
.fu1 { animation-delay:.1s; }
.fu2 { animation-delay:.25s; }
.fu3 { animation-delay:.4s; }
.fu4 { animation-delay:.55s; }
