*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #050a08; --bg-2: #0a1210;
  --surface: rgba(255,255,255,0.045); --surface-2: rgba(255,255,255,0.07);
  --line: rgba(255,255,255,0.09);
  --text: #f4f7f5; --muted: #a7b8b0;
  --green: #10B981; --green-2: #34D399; --green-dim: rgba(16,185,129,0.14);
  --amber: #F59E0B; --red: #F87171;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--green-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,10,8,0.7);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.3px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .cta { color: #04130d; background: var(--green); padding: 9px 16px; border-radius: 999px; }
.nav-links .cta:hover { background: var(--green-2); color: #04130d; }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } .nav-links { gap: 16px; } }

main { max-width: 760px; margin: 0 auto; padding: 36px 24px 40px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 6px; opacity: .6; }
.eyebrow { color: var(--green-2); font-weight: 800; font-size: 12.5px; letter-spacing: 1.3px; text-transform: uppercase; }
h1 { font-size: clamp(32px, 5.4vw, 48px); line-height: 1.08; letter-spacing: -1.4px; font-weight: 800; margin: 10px 0 16px; }
.intro { font-size: 18.5px; color: var(--muted); }
.updated { font-size: 13px; color: var(--muted); margin-top: 10px; opacity: .8; }

.answer {
  margin: 30px 0 8px; padding: 22px 24px; border-radius: 20px;
  background: var(--green-dim); border: 1px solid rgba(16,185,129,0.35);
}
.answer strong:first-child { display: block; color: var(--green-2); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }

article h2 { font-size: 26px; letter-spacing: -0.6px; line-height: 1.2; margin: 40px 0 12px; }
article h3 { font-size: 19px; margin: 26px 0 8px; }
article p { margin: 0 0 14px; color: #d9e3de; font-size: 16.5px; }
article ul, article ol { margin: 0 0 16px 22px; color: #d9e3de; font-size: 16.5px; }
article li { margin-bottom: 6px; }
article strong { color: var(--text); }

.table-wrap { overflow-x: auto; margin: 6px 0 18px; border-radius: 16px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tag.halal { background: rgba(16,185,129,0.16); color: var(--green-2); }
.tag.mushbooh { background: rgba(245,158,11,0.16); color: var(--amber); }
.tag.haram { background: rgba(248,113,113,0.16); color: var(--red); }

.note {
  margin: 22px 0; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
.note p:last-child { margin-bottom: 0; }

.faq { margin-top: 10px; }
.faq h3 { margin-top: 22px; }

.cta-card {
  margin: 44px 0 10px; padding: 30px 26px; border-radius: 26px; text-align: center;
  background: radial-gradient(500px 220px at 50% 0%, rgba(16,185,129,0.3), transparent 70%), var(--bg-2);
  border: 1px solid rgba(16,185,129,0.3);
}
.cta-card img { width: 64px; height: 64px; border-radius: 15px; margin: 0 auto 14px; }
.cta-card h2 { margin: 0 0 8px; font-size: 24px; }
.cta-card p { color: var(--muted); margin: 0 auto 20px; max-width: 460px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 16px;
  background: var(--green); color: #04130d; font-weight: 700;
}
.btn:hover { background: var(--green-2); text-decoration: none; }
.btn svg { width: 19px; height: 19px; }

.related { margin-top: 40px; }
.related h2 { font-size: 20px; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.card {
  display: block; padding: 18px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.card:hover { border-color: rgba(16,185,129,0.4); background: var(--surface-2); text-decoration: none; }
.card strong { display: block; font-size: 16px; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 14px; line-height: 1.5; display: block; }

.disclaimer { margin-top: 30px; font-size: 13.5px; color: var(--muted); }

footer { border-top: 1px solid var(--line); margin-top: 50px; }
footer .inner { max-width: 1120px; margin: 0 auto; padding: 26px 24px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
