/* Muslim Widgets — site styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Crimson+Pro:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --cream: #FBF7EF;
  --cream-2: #F4ECDD;
  --card: #FFFFFF;
  --ink: #2A2520;
  --ink-soft: #6F685B;
  --ink-dim: #9A9282;
  --gold: #C9A45C;
  --gold-deep: #A8843E;
  --line: rgba(42, 37, 32, 0.10);
  --night: #1B2A2A;
  --night-2: #122020;
  --shadow: 0 24px 60px rgba(42, 37, 32, 0.10);
  --radius: 22px;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Crimson Pro', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); }
.brand .crescent { width: 26px; height: 26px; color: var(--gold-deep); }
.nav-links { display: flex; gap: 26px; font-size: 17px; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  font-family: var(--body); font-weight: 600; font-size: 18px;
  padding: 15px 26px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px rgba(42,37,32,0.18);
}
.btn:hover { transform: translateY(-2px); color: var(--cream); box-shadow: 0 16px 34px rgba(42,37,32,0.24); }
.btn .apple { width: 20px; height: 20px; }
.btn-ghost { background: transparent; color: var(--ink-soft); box-shadow: none; padding: 15px 10px; }
.btn-ghost:hover { color: var(--ink); transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(201,164,92,0.20), transparent 60%),
    radial-gradient(90% 70% at 0% 0%, rgba(201,164,92,0.10), transparent 55%),
    var(--cream);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding: 56px 0 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display); font-weight: 700; line-height: 1.04;
  font-size: clamp(40px, 6vw, 66px); letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 18px;
}
.hero p.lead { font-size: 21px; color: var(--ink-soft); max-width: 30ch; margin-bottom: 30px; }
.hero-cta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 16px; color: var(--ink-dim); }

/* ---------- Widget mockups ---------- */
.mockups { position: relative; height: 440px; }
.widget {
  position: absolute; border-radius: 26px; padding: 22px;
  color: #F6F0E2; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.10);
}
.widget .label { font-size: 13px; letter-spacing: .04em; opacity: .7; margin-bottom: 10px; }
.widget .verse { font-family: var(--display); font-size: 21px; line-height: 1.35; }
.widget .ref { margin-top: 12px; font-size: 13px; color: var(--gold); font-weight: 600; }

.w-quote {
  width: 300px; top: 12px; left: 8px;
  background: linear-gradient(155deg, #24403A, #14201E);
}
.w-prayer {
  width: 250px; bottom: 8px; right: 0;
  background: linear-gradient(155deg, #2B2516, #15120B);
}
.w-prayer .big { font-family: var(--display); font-size: 30px; margin: 2px 0; }
.w-prayer .row { display: flex; justify-content: space-between; font-size: 14px; opacity: .85; margin-top: 4px; }
.w-prayer .row .next { color: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 86px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px,4vw,40px); letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 19px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 8px 26px rgba(42,37,32,0.05);
}
.feature .ficon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(201,164,92,0.14); color: var(--gold-deep); margin-bottom: 18px;
}
.feature .ficon svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Ayah band ---------- */
.band {
  background: linear-gradient(160deg, var(--night), var(--night-2));
  color: #F3ECDC; text-align: center;
}
.band .arabic { font-family: var(--display); font-size: clamp(26px,4vw,38px); margin-bottom: 16px; color: #FBF4E6; }
.band .trans { font-size: 21px; color: rgba(243,236,220,0.82); font-style: italic; }
.band .ref { margin-top: 14px; color: var(--gold); font-weight: 600; letter-spacing: .04em; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px,4.5vw,46px); margin-bottom: 14px; }
.cta p { color: var(--ink-soft); font-size: 20px; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer .brand { font-size: 18px; }
.footer-links { display: flex; gap: 24px; font-size: 17px; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer .copy { color: var(--ink-dim); font-size: 15px; width: 100%; }

/* ---------- Legal / content pages ---------- */
.page { padding: 56px 0 90px; }
.page h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px,5vw,46px); margin-bottom: 6px; }
.page .meta { color: var(--ink-dim); font-size: 16px; margin-bottom: 36px; }
.page h2 { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 34px 0 10px; }
.page p { color: var(--ink); margin-bottom: 14px; }
.page ul { margin: 0 0 16px 22px; }
.page li { margin: 7px 0; }
.page .q { font-weight: 600; margin-top: 22px; color: var(--ink); }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 17px; margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 64px; }
  .hero p.lead { max-width: none; }
  .mockups { height: 360px; max-width: 420px; margin: 0 auto; }
  .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
  body { font-size: 18px; }
}
