/* Awwab — site styles. Self-contained, no external requests. */

:root {
  --paper: #ffffff;
  --paper-2: #f5f7f5;
  --ink: #16201b;
  --ink-soft: #4b574f;
  --ink-faint: #8a958d;
  --emerald-900: #0a2017;
  --emerald-800: #0f2c20;
  --emerald-700: #163a2a;
  --gold: #bd9740;
  --gold-bright: #d8b760;
  --gold-soft: #ede0bf;
  --line: rgba(22, 32, 27, 0.10);
  --line-strong: rgba(22, 32, 27, 0.16);
  --radius: 18px;
  --maxw: 1080px;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Gild emotionally meaningful words. */
.gild { color: var(--gold); font-weight: 600; }
.divine { color: var(--gold); font-weight: 600; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 26px; height: 26px; }
.brand .word { font-family: var(--serif); font-size: 22px; letter-spacing: 0.3px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
}
.nav-cta:hover { background: var(--emerald-700); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(216, 183, 96, 0.16), transparent 60%),
    linear-gradient(160deg, var(--emerald-900), var(--emerald-800) 62%, #0b2419);
  color: #f3efe6;
}
.hero .wrap { padding-top: 92px; padding-bottom: 96px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 7vw, 76px); line-height: 1.04; margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 600; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.hero p.lede {
  font-size: clamp(18px, 2.4vw, 22px); color: #d7d2c4; max-width: 620px; margin: 18px 0 34px;
}
.hero .arabic { font-size: 24px; color: var(--gold-soft); opacity: 0.95; margin: 6px 0 4px; }
.arabic-gloss { font-size: 14px; color: #aeb8af; font-style: italic; margin: 0 0 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  -webkit-appearance: none; appearance: none; background: transparent; border: 0;
}
.btn-primary { background: var(--gold); color: #20170a; }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.28); color: #f3efe6; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }
.hero-note { color: #b9c3ba; font-size: 13.5px; margin-top: 18px; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px; letter-spacing: -0.3px;
}
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }
.kicker { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }

/* ---------- Feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(16,44,32,0.4); border-color: var(--line-strong); }
.card .ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, #143a2a, #0f2c20); color: var(--gold-bright); margin-bottom: 16px;
}
.card h3 { font-size: 18.5px; margin: 0 0 7px; font-weight: 650; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Privacy band ---------- */
.band {
  background: var(--emerald-900); color: #ede7d8; border-radius: 28px;
  padding: 56px 44px; position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(640px 320px at 88% 110%, rgba(189,151,64,0.18), transparent 60%);
  pointer-events: none;
}
.band h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); margin: 0 0 14px; font-weight: 600; }
.band p { color: #cfc8b8; max-width: 660px; font-size: 18px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { border: 1px solid rgba(237,224,191,0.28); color: #ede0bf; padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 52px 0 64px; background: var(--paper-2); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer .brand .word { font-size: 20px; }
.footer .tag { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; max-width: 300px; }
.foot-links { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 14px; }
.foot-col a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; }
.foot-col a:hover { color: var(--ink); }
.copyright { color: var(--ink-faint); font-size: 13.5px; margin-top: 44px; }

/* ---------- Legal / doc pages ---------- */
.doc { padding: 56px 0 90px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; font-weight: 600; }
.doc .updated { color: var(--ink-faint); font-size: 14.5px; margin-bottom: 38px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; font-weight: 650; letter-spacing: -0.2px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; font-weight: 650; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--gold); text-decoration: none; font-weight: 500; }
.doc a:hover { text-decoration: underline; }
.callout {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 12px; padding: 18px 20px; margin: 22px 0; color: var(--ink);
}
.callout p { color: var(--ink); margin: 0; }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; margin-bottom: 30px; }
.back:hover { color: var(--ink); }

/* ====================================================================
   BLOG  — index + article
   ==================================================================== */

/* shared tag pill */
.post-tag { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: 1.3px;
  text-transform: uppercase; color: var(--gold); background: rgba(189,151,64,0.12);
  border: 1px solid rgba(189,151,64,0.32); padding: 5px 13px; border-radius: 999px; }

/* reading-progress bar (top of article) */
.read-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright)); z-index: 60; box-shadow: 0 0 12px rgba(216,183,96,0.6); }

/* slow rotating geometric ornament */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes float-soft { 50% { transform: translateY(-10px); } }

/* ---------- Article hero (dramatic dark band) ---------- */
.post-hero { position: relative; overflow: hidden; color: #f4efe3;
  background:
    radial-gradient(820px 380px at 82% -25%, rgba(216,183,96,0.22), transparent 62%),
    linear-gradient(160deg, #0a2017, #0f2c20 58%, #0b2419);
  padding: 72px 0 60px; border-bottom: 1px solid rgba(216,183,96,0.2); }
.post-hero .wrap { max-width: 800px; position: relative; z-index: 2; }
.post-hero .ornament { position: absolute; right: -70px; top: -50px; width: 360px; height: 360px;
  color: var(--gold-bright); opacity: 0.16; z-index: 1; animation: spin-slow 80s linear infinite; }
.post-hero .ornament-2 { position: absolute; left: -90px; bottom: -120px; width: 280px; height: 280px;
  color: #7fd39a; opacity: 0.08; z-index: 1; animation: spin-slow 110s linear infinite reverse; }
.post-hero .back { color: #c4b58f; margin-bottom: 22px; }
.post-hero .back:hover { color: #f4efe3; }
.post-hero .post-tag { color: #f0e2bb; background: rgba(216,183,96,0.16); border-color: rgba(216,183,96,0.45); }
.post-hero h1 { font-family: var(--serif); font-weight: 600; color: #fbf7ee; line-height: 1.12;
  font-size: clamp(34px, 6vw, 56px); margin: 16px 0 0; letter-spacing: -0.4px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25); }
.post-hero .post-meta { color: #a9b6aa; font-size: 14px; margin-top: 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-hero .post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #7e8c80; display: inline-block; }

/* ---------- Article body ---------- */
.post-article { padding: 50px 0 90px; }
.post-article .wrap { max-width: 720px; }
.post-lede { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 24px); line-height: 1.55;
  color: var(--ink); margin: 0 0 30px; font-weight: 500; }
.post-body p, .post-body li { color: var(--ink-soft); font-size: 17.5px; line-height: 1.78; }
.post-body p { margin: 0 0 20px; }
.post-body h2 { font-family: var(--serif); font-size: clamp(23px, 3vw, 28px); font-weight: 600; color: var(--ink);
  margin: 44px 0 14px; letter-spacing: -0.2px; }
.post-body h2::before { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright)); margin-bottom: 16px; }
.post-body p a, .post-body li a { color: var(--gold); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(189,151,64,0.35); }
.post-body p a:hover, .post-body li a:hover { border-bottom-color: var(--gold); }
/* buttons & cards must not inherit the inline-link styling */
.post-body a.btn { border-bottom: 0; font-weight: 600; }
.post-body a.btn-primary { color: #20170a; }
.post-body a.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.post-body a.btn-ghost:hover { border-color: var(--gold); }
.post-body strong { color: var(--ink); font-weight: 650; }
.post-body em { font-style: italic; }
/* elegant drop cap on the lede */
.post-body .post-lede::first-letter { font-family: var(--serif); font-size: 4.1em; float: left;
  line-height: 0.74; padding: 8px 12px 0 0; color: var(--gold); font-weight: 600; }
/* refined callout */
.post-article .callout { background: linear-gradient(135deg, rgba(189,151,64,0.08), rgba(189,151,64,0.02));
  border: 1px solid rgba(189,151,64,0.22); border-left: 3px solid var(--gold); border-radius: 14px;
  padding: 20px 22px; margin: 30px 0; }
.post-article .callout p { color: var(--ink); margin: 0; font-size: 16.5px; line-height: 1.65; }
/* pull quote */
.pullquote { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 28px); line-height: 1.42; color: var(--ink);
  text-align: center; margin: 40px 0; padding: 8px 12px; position: relative; }
.pullquote::before { content: "\201C"; font-family: var(--serif); font-size: 80px; color: rgba(189,151,64,0.28);
  display: block; line-height: 0.6; margin-bottom: 6px; }
/* ornament divider */
.ornament-rule { display: flex; align-items: center; gap: 16px; margin: 46px 0; color: var(--gold); }
.ornament-rule::before, .ornament-rule::after { content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.ornament-rule svg { width: 22px; height: 22px; flex: none; }
/* end CTA */
.post-cta { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; }

/* related posts */
.related { margin: 64px 0 0; }
.related .g-sectlabel, .related h3 { text-transform: uppercase; letter-spacing: 1.4px; font-size: 12px;
  font-weight: 700; color: var(--gold); margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-grid a { display: block; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper-2); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.related-grid a:hover { transform: translateY(-2px); border-color: rgba(189,151,64,0.45); }
.related-grid .post-tag { font-size: 10.5px; padding: 3px 10px; margin-bottom: 8px; }
.related-grid b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 600; margin-top: 6px; }

/* ---------- Blog index ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 8px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 26px; text-decoration: none; color: inherit;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: radial-gradient(420px 200px at 100% 0%, rgba(216,183,96,0.12), transparent 60%); opacity: 0; transition: opacity .25s ease; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(189,151,64,0.5); box-shadow: 0 30px 70px -42px rgba(40,30,8,0.55); }
.post-card:hover::after { opacity: 1; }
.post-card .post-tag { margin-bottom: 14px; align-self: flex-start; }
.post-card h2 { font-family: var(--serif); font-size: 23px; font-weight: 600; margin: 0 0 10px; line-height: 1.26; color: var(--ink); }
.post-card p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.62; margin: 0 0 18px; }
.post-card .post-date { color: var(--ink-faint); font-size: 13px; margin-top: auto; }
.post-card .read { color: var(--gold); font-weight: 600; font-size: 14.5px; margin-top: 10px; display: inline-flex; align-items: center; gap: 7px; }
.post-card .read svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.9; transition: transform .2s ease; }
.post-card:hover .read svg { transform: translateX(4px); }

/* featured card — split with a decorative emerald art panel */
.post-card.feat { grid-column: 1 / -1; flex-direction: row; padding: 0; align-items: stretch; }
.post-card.feat .feat-art { flex: none; width: 40%; position: relative; overflow: hidden;
  background: radial-gradient(300px 200px at 70% 20%, rgba(216,183,96,0.28), transparent 60%), linear-gradient(160deg, #0f2c20, #0a2017); display: grid; place-items: center; }
.post-card.feat .feat-art svg { width: 62%; max-width: 240px; color: var(--gold-bright); opacity: 0.92;
  filter: drop-shadow(0 10px 30px rgba(216,183,96,0.35)); animation: float-soft 7s ease-in-out infinite; }
.post-card.feat .feat-body { padding: 36px 38px; display: flex; flex-direction: column; }
.post-card.feat h2 { font-size: 32px; }
.post-card.feat p { font-size: 16.5px; }

@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .post-card.feat { flex-direction: column; }
  .post-card.feat .feat-art { width: 100%; height: 160px; }
}

/* ====================================================================
   KNOWLEDGE HUB  (/learn)
   ==================================================================== */
.section-label { text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px; font-weight: 700; color: var(--gold); margin: 0 0 18px; }

/* featured guide cards (dark, with rotating ornament) */
.featured-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.guide-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 220px;
  padding: 28px; border-radius: 22px; text-decoration: none; color: #f4efe3;
  background: radial-gradient(360px 220px at 85% 0%, rgba(216,183,96,0.26), transparent 60%), linear-gradient(160deg, #0f2c20, #0a2017);
  border: 1px solid rgba(216,183,96,0.3); transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -42px rgba(0,0,0,0.6); }
.guide-card .gc-orn { position: absolute; right: -46px; top: -46px; width: 190px; height: 190px; color: var(--gold-bright); opacity: 0.16; animation: spin-slow 90s linear infinite; }
.guide-card .post-tag { align-self: flex-start; position: relative; z-index: 1; }
.guide-card h3 { font-family: var(--serif); font-size: 27px; font-weight: 600; margin: 16px 0 8px; position: relative; z-index: 1; }
.guide-card p { color: #cbd5cb; font-size: 14.5px; line-height: 1.55; margin: 0; position: relative; z-index: 1; }
.guide-card .read { color: var(--gold-bright); font-weight: 600; font-size: 14px; margin-top: 16px; display: inline-flex; gap: 7px; align-items: center; position: relative; z-index: 1; }
.guide-card .read svg { width: 15px; height: 15px; transition: transform .2s ease; }
.guide-card:hover .read svg { transform: translateX(4px); }

/* theme grid */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.theme-card { display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.theme-card:hover { transform: translateY(-3px); border-color: rgba(189,151,64,0.45); box-shadow: 0 24px 54px -40px rgba(40,30,8,0.5); }
.tc-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; margin-bottom: 14px;
  background: linear-gradient(150deg, rgba(216,183,96,0.22), rgba(216,183,96,0.06)); color: var(--gold); }
.tc-ic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.theme-card .tc-desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tc-chip { font-size: 12px; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.tc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--line); }
.tc-count { font-size: 12.5px; color: var(--ink-faint); }
.tc-play { color: var(--gold); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tc-play svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .18s ease; }
.theme-card:hover .tc-play svg { transform: translateX(3px); }

/* infographic blocks (on deep-dive pages) */
.infographic { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 30px 0; }
.infographic .ig-title { font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 700; color: var(--gold); margin: 0 0 16px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.info-tile { text-align: center; padding: 16px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.info-tile b { display: block; font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1.1; }
.info-tile span { font-size: 12.5px; color: var(--ink-soft); }
/* simple two-column fact list */
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.fact-list li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.fact-list li svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex: none; margin-top: 3px; }

@media (max-width: 900px) { .theme-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .theme-grid, .featured-guides, .fact-list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; background: var(--paper);
}
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; font-size: 16px; }

/* ========================================================================
   Icons (custom inline SVG — no emoji)
   ======================================================================== */
.ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .ic svg { transform: scale(1.08); }
.ic svg { transition: transform .25s ease; }
/* small inline icon (text rows / lists) */
.i { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ========================================================================
   Shimmering "divine" words — gold sheen + soft pulse (matches app)
   ======================================================================== */
.divine, .gild-anim {
  background: linear-gradient(100deg, var(--gold) 0%, #f4e3b0 28%, var(--gold-bright) 50%, #f4e3b0 72%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 600;
  animation: sheen 6s linear infinite;
}
@keyframes sheen { 0% { background-position: 200% 0; } 100% { background-position: -20% 0; } }

/* ========================================================================
   Hero enhancements — animated aurora glow + floating orb
   ======================================================================== */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(216,183,96,0.22), transparent 62%);
  filter: blur(8px); pointer-events: none;
  animation: float 13s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); opacity: .85; }
  50% { transform: translate(-26px, 26px) scale(1.08); opacity: 1; }
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 .divine { animation-duration: 5s; }

/* ========================================================================
   Scroll reveal
   ======================================================================== */
/* Hidden state only applies when JS is present (.js on <html>), so the page
   degrades gracefully to fully-visible content if JS is off or fails. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .35s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .42s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: .49s; }
.reveal-stagger.in > *:nth-child(9) { transition-delay: .56s; }

/* nav gains a shadow once scrolled */
.nav.scrolled { box-shadow: 0 10px 30px -22px rgba(10,32,23,0.5); }

/* ========================================================================
   Stats count-up strip
   ======================================================================== */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 22px 10px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); }
.stat-num { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); font-weight: 600;
  color: var(--emerald-700); line-height: 1; letter-spacing: -1px; }
.stat-num .suffix { color: var(--gold); }
.stat-label { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

/* ========================================================================
   "How the Shield works" — numbered steps
   ======================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 22px 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); }
.step::before { counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600;
  background: linear-gradient(160deg, #143a2a, #0f2c20); color: var(--gold-bright);
  border: 1px solid rgba(216,183,96,0.4); }
.step h3 { font-size: 17px; margin: 10px 0 6px; font-weight: 650; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ========================================================================
   Platforms
   ======================================================================== */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.platform-card { border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px;
  background: var(--paper); position: relative; transition: transform .18s ease, box-shadow .18s ease; }
.platform-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -30px rgba(16,44,32,0.45); }
.platform-card .phead { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.platform-card .phead svg { width: 26px; height: 26px; stroke: var(--emerald-700); fill: none; stroke-width: 1.5; }
.platform-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0; }
.soon { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700;
  color: var(--gold); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; margin-left: auto; }
.platform-card .pdesc { color: var(--ink-soft); font-size: 15.5px; margin: 4px 0 18px; }
.platform-card ul { list-style: none; padding: 0; margin: 0; }
.platform-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft);
  font-size: 15px; margin-bottom: 12px; }
.platform-card li svg { margin-top: 3px; }
.store-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 13.5px; color: var(--ink-faint); }

/* ========================================================================
   Showcase / alternating split sections
   ======================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split .copy h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px,3.6vw,36px);
  margin: 10px 0 14px; letter-spacing: -0.3px; }
.split .copy p { color: var(--ink-soft); font-size: 17px; margin: 0 0 14px; }
.split .panel { border-radius: 24px; min-height: 280px; padding: 30px;
  background: linear-gradient(160deg, var(--emerald-900), var(--emerald-800) 70%, #0b2419);
  color: #ede7d8; position: relative; overflow: hidden; display: flex; flex-direction: column;
  justify-content: center; gap: 14px; }
.split .panel::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(440px 240px at 85% 8%, rgba(216,183,96,0.18), transparent 60%); pointer-events: none; }
.feat-line { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.feat-line svg { width: 20px; height: 20px; stroke: var(--gold-bright); fill: none; stroke-width: 1.6; flex: none; }
.checklist { list-style: none; padding: 0; margin: 8px 0 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; color: var(--ink-soft); font-size: 16px; }

/* ========================================================================
   Languages strip
   ======================================================================== */
.lang-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-strip .pill-d { border: 1px solid var(--line-strong); color: var(--ink-soft);
  padding: 8px 15px; border-radius: 999px; font-size: 14px; background: var(--paper); }

/* ========================================================================
   Features deep-dive page
   ======================================================================== */
.feature-block { padding: 40px 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 0; }
.feature-block .lead-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, #143a2a, #0f2c20); color: var(--gold-bright); margin-bottom: 16px; }
.feature-block .lead-ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.feature-block h2 { font-family: var(--serif); font-size: clamp(24px,3.4vw,32px); font-weight: 600; margin: 0 0 10px; }
.feature-block > .wrap > p { color: var(--ink-soft); font-size: 17px; max-width: 720px; }

/* final CTA band */
.cta-band { text-align: center; }
.cta-band .band { padding: 64px 44px; }
.cta-band h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .band p { margin-left: auto; margin-right: auto; }
.cta-band .arabic { font-size: 22px; color: var(--gold-soft); margin: 6px auto; }
.cta-band .cta-row { justify-content: center; }

/* ========================================================================
   Newsletter signup
   ======================================================================== */
.signup { max-width: 520px; margin: 22px auto 0; text-align: left; position: relative; }
.signup-row { display: flex; gap: 10px; }
.signup input[type=email] {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px;
  border: 1px solid rgba(237,224,191,0.34); background: rgba(255,255,255,0.06);
  color: #f6f1e6; font-size: 15px; font-family: var(--sans);
}
.signup input[type=email]::placeholder { color: #9fb0a4; }
.signup input[type=email]:focus { outline: none; border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(216,183,96,0.18); }
.signup .btn { white-space: nowrap; border: none; cursor: pointer; }
.signup .btn:disabled { opacity: .65; cursor: default; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px;
  font-size: 13.5px; line-height: 1.5; color: #cfc8b8; }
.consent input { margin-top: 3px; accent-color: var(--gold); flex: none; width: 16px; height: 16px; }
.consent a { color: var(--gold-bright); text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.signup-msg { min-height: 20px; margin: 12px 0 0; font-size: 14px; }
.signup-msg.ok { color: #bfe3c8; }
.signup-msg.err { color: #f0b8b4; }

/* Contact form — stacked fields inside a dark band */
.signup.contact { max-width: 560px; }
.signup.contact input, .signup.contact textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid rgba(237,224,191,0.34); background: rgba(255,255,255,0.06);
  color: #f6f1e6; font-size: 15px; font-family: var(--sans); margin-bottom: 10px;
}
.signup.contact textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.signup.contact input::placeholder, .signup.contact textarea::placeholder { color: #9fb0a4; }
.signup.contact input:focus, .signup.contact textarea:focus {
  outline: none; border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(216,183,96,0.18); }
.signup.contact .btn { width: auto; margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .platforms { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .band { padding: 40px 26px; }
  .footer-grid { gap: 30px; }
  .foot-links { gap: 36px; }
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before, .divine, .gild-anim { animation: none !important; }
  html { scroll-behavior: auto; }
}
