/* ============================================================
   Shifa — shifa786.org  |  Marketing site stylesheet
   Brand: Islamic deep green + accent green, gold detail, Poppins
   Self-contained (no framework / CDN dependency)
   ============================================================ */

:root {
  /* Greens (from the iOS app theme) */
  --green-900: #0e2113;
  --green-800: #14301d;
  --green-700: #1c3a24;   /* primary brand */
  --green-600: #265234;
  --green-500: #2e6b3e;
  --green-400: #4eac66;   /* accent */
  --green-300: #79c98f;
  --green-100: #e7f3eb;

  --gold-500: #c9a24b;
  --gold-300: #e3c987;

  --ink: #15241b;
  --muted: #5c6b61;
  --line: #e7eae8;
  --cream: #f7f8f5;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(16, 40, 24, 0.06);
  --shadow: 0 18px 40px rgba(16, 40, 24, 0.10);
  --shadow-lg: 0 40px 80px rgba(10, 30, 16, 0.22);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --ff: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-ar: "Amiri", "Scheherazade New", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(26px, 3.4vw, 46px); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-500);
  background: var(--green-100);
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.eyebrow.on-dark { color: var(--green-300); background: rgba(121, 201, 143, 0.12); }
h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--green-800); }
.h-display { font-size: clamp(2.3rem, 5.2vw, 4rem); }
.h-section  { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 56ch; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(24px, 3vw, 40px); display: grid; gap: 16px; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.97rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-400); color: #06210e; box-shadow: 0 10px 24px rgba(78, 172, 102, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(78, 172, 102, 0.5); }
.btn-ghost { background: transparent; color: var(--green-700); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--green-400); color: var(--green-500); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-radius: 14px;
  background: var(--green-800); color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { display: grid; line-height: 1.15; text-align: left; }
.store-badge .sb-top { font-size: 0.66rem; opacity: .8; letter-spacing: .04em; }
.store-badge .sb-main { font-size: 1.02rem; font-weight: 600; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(16,40,24,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--green-800); font-size: 1.18rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand small { display: block; font-size: .64rem; font-weight: 500; letter-spacing: .12em; color: var(--green-400); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink); opacity: .8; transition: opacity .2s, color .2s; }
.nav-links a:hover { opacity: 1; color: var(--green-500); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: var(--green-800); align-items: center; justify-content: center; flex: none; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-mobile-cta { display: none; }   /* desktop: actions live in .nav-cta; shown only inside the open mobile menu */

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 56px);
  background:
    radial-gradient(1100px 540px at 78% -8%, rgba(78,172,102,.16), transparent 60%),
    radial-gradient(820px 480px at 4% 18%, rgba(201,162,75,.10), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-copy { display: grid; gap: 26px; }
.hero h1 { color: var(--green-800); }
.hero h1 .accent { color: var(--green-400); }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.rating-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.stars { color: var(--gold-500); letter-spacing: 2px; font-size: 1.05rem; }

.verse-chip {
  display: inline-flex; flex-direction: column; gap: 4px;
  padding: 14px 22px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  max-width: max-content;
}
.verse-chip .ar { font-family: var(--ff-ar); font-size: 1.5rem; color: var(--green-700); direction: rtl; line-height: 1.4; }
.verse-chip .tr { font-size: .82rem; color: var(--muted); font-style: italic; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(310px, 80vw); aspect-ratio: 310 / 632;
  background: #0c1f13; border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
  z-index: 2;
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #0c1f13; border-radius: 0 0 16px 16px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(170deg, var(--green-700), var(--green-800) 55%, var(--green-900));
  display: grid; grid-template-rows: auto auto auto auto 1fr auto; color: #fff;
  position: relative;
}
.ps-status { display:flex; justify-content: space-between; align-items:center; padding: 18px 22px 6px; font-size: .72rem; opacity: .85; }
.ps-head { padding: 6px 22px 12px; }
.ps-head .hi { font-size: .78rem; opacity: .75; }
.ps-head .title { font-size: 1.3rem; font-weight: 700; color: #fff; }
.ps-search {
  margin: 0 22px 14px; display:flex; align-items:center; gap: 10px;
  background: rgba(255,255,255,.12); border-radius: 14px; padding: 11px 14px; font-size: .8rem; color: rgba(255,255,255,.7);
}
.ps-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 22px 16px; }
.ps-quick .q {
  background: linear-gradient(135deg, var(--green-400), var(--green-500));
  border-radius: 16px; padding: 13px; display: grid; gap: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,.18); color: #fff;
}
.ps-quick .q.alt { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #2a2204; }
.ps-quick .q .ic { width: 24px; height: 24px; }
.ps-quick .q .lbl { font-size: .78rem; font-weight: 600; }
.ps-list { background: #f4f7f4; border-radius: 26px 26px 0 0; padding: 16px 16px 10px; display: grid; gap: 10px; overflow: hidden; align-content: start; }
.ps-list .sec { font-size: .72rem; font-weight: 600; color: var(--muted); padding-left: 4px; }
.cat-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 11px 12px; box-shadow: 0 4px 12px rgba(16,40,24,.05); }
.cat-row .dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.cat-row .nm { font-size: .82rem; font-weight: 600; color: var(--ink); }
.cat-row .sb { font-size: .68rem; color: var(--muted); }
.cat-row .chev { margin-left: auto; color: var(--green-300); }
.ps-tab { display: flex; justify-content: space-around; padding: 12px 8px 16px; background:#fff; }
.ps-tab span { width: 24px; height: 24px; border-radius: 7px; background: var(--green-100); }
.ps-tab span.on { background: var(--green-400); }

.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 11px; font-size: .82rem; font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card.fc1 { top: 12%; left: -4%; }
.float-card.fc2 { bottom: 14%; right: -6%; animation-delay: 1.4s; }
.float-card small { display:block; font-weight: 500; color: var(--muted); font-size: .72rem; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 28px; text-align: center; }
.trust-grid .n { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--green-500); }
.trust-grid .l { font-size: .86rem; color: var(--muted); }

/* ============================================================
   Features
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: grid; gap: 14px; align-content: start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .fc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--green-400), var(--green-600)); }
.feature-card h3 { font-size: 1.18rem; }
.feature-card p { color: var(--muted); font-size: .95rem; }
/* wide enough to keep "...prays with you" on one line before the break */
.features-lead { max-width: 900px; }

/* ============================================================
   Categories showcase
   ============================================================ */
.cats { background: var(--cream); }
/* flex (not grid) so a partial last row — 4 on top, 3 below — stays centered */
.cats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cat-card {
  position: relative; overflow: hidden;
  flex: 1 1 calc(25% - 12px); max-width: calc(25% - 12px);
  border-radius: var(--radius); padding: 24px; min-height: 168px;
  display: grid; align-content: end; gap: 6px; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-card .ci { position: absolute; top: 20px; left: 20px; width: 40px; height: 40px; opacity: .95; }
.cat-card h4 { color: #fff; font-size: 1.05rem; line-height: 1.25; }
.cat-card p { font-size: .8rem; opacity: .88; }
.cat-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.28)); }
.cat-card > * { position: relative; z-index: 1; }

/* ============================================================
   Community / split sections
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(28px, 3.5vw, 48px); }
.split.rev .split-media { order: 2; }
.split-copy { display: grid; gap: 20px; align-content: center; }
.split-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .ck { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--green-100); color: var(--green-500); display: grid; place-items: center; margin-top: 2px; }
.check-list b { display: block; }
.check-list span { color: var(--muted); font-size: .92rem; }

.media-card {
  border-radius: var(--radius-lg); padding: 32px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  box-shadow: var(--shadow);
}
.media-card .mc-watermark { position: absolute; right: -36px; bottom: -36px; width: 220px; opacity: .12; filter: brightness(0) invert(1); }
.community-photo { position: relative; z-index: 1; width: 100%; height: 156px; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.req-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); display: grid; gap: 10px; position: relative; }
.req-card + .req-card { margin-top: 14px; }
.req-head { display: flex; align-items: center; gap: 12px; }
.req-head .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-500); display: grid; place-items:center; font-weight: 700; }
.req-head .who b { display:block; font-size: .92rem; }
.req-head .who small { color: var(--muted); }
.req-body { font-size: .9rem; color: var(--muted); }
.req-foot { display:flex; gap: 10px; flex-wrap: wrap; }
.pill { font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--green-100); color: var(--green-600); }
.pill.gold { background: rgba(201,162,75,.16); color: #8a6a1e; }

/* invitation card */
.invite-card { background:#fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.invite-card .ic-top { background: linear-gradient(135deg, var(--green-600), var(--green-800)); color:#fff; padding: 24px; position: relative; }
.invite-card .ic-top .k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.invite-card .ic-top h4 { color:#fff; font-size: 1.4rem; margin-top: 4px; }
.invite-card .ic-top .ar { font-family: var(--ff-ar); direction: rtl; opacity: .85; margin-top: 8px; font-size: 1.15rem; }
.invite-card .ic-body { padding: 20px 24px; display: grid; gap: 14px; }
.invite-row { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.invite-row .ir-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green-100); color: var(--green-500); display:grid; place-items:center; flex:none; }
.invite-row b { display:block; } .invite-row small { color: var(--muted); }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display:grid; gap: 12px; position: relative;
}
.step .num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--green-700); color:#fff;
  display:grid; place-items:center; font-weight:700; font-size: 1.15rem;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .93rem; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi { background: var(--green-800); color:#fff; position: relative; overflow: hidden; }
.testi::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 400px at 85% 0%, rgba(78,172,102,.22), transparent 60%); }
.testi .container { position: relative; }
.testi h2, .testi .lead { color: #fff; }
.testi .lead { opacity: .8; }
.testi-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px; display:grid; gap: 14px; }
.testi-card .stars { font-size: 1rem; }
.testi-card p { color: rgba(255,255,255,.9); font-size: .96rem; }
.testi-card .who { display:flex; align-items:center; gap: 12px; }
.testi-card .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-400); color:#06210e; display:grid; place-items:center; font-weight:700; }
.testi-card .who b { display:block; font-size: .92rem; } .testi-card .who small { color: var(--green-300); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border:1px solid var(--line); border-radius: var(--radius-sm); background:#fff; overflow: hidden; }
.faq-q { width:100%; display:flex; align-items:center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight:600; font-size: 1.02rem; color: var(--green-800); text-align:left; }
.faq-q .ico { width: 28px; height: 28px; flex:none; border-radius: 50%; background: var(--green-100); color: var(--green-500); display:grid; place-items:center; transition: transform .3s ease; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 22px 22px; color: var(--muted); font-size: .95rem; }

/* ============================================================
   CTA
   ============================================================ */
.cta-band { padding-block: clamp(30px, 3.6vw, 52px); }
.cta-box {
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  background: linear-gradient(140deg, var(--green-600), var(--green-800) 60%, var(--green-900));
  color:#fff; text-align:center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-box::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 320px at 50% -20%, rgba(201,162,75,.3), transparent 60%); }
.cta-box > * { position: relative; }
.cta-box h2 { color:#fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-box p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 16px auto 30px; }
.cta-logo { width: 124px; height: 124px; border-radius: 28px; margin: 0 auto 20px; box-shadow: var(--shadow-lg); }
.cta-box .store-badges { justify-content: center; }
.cta-box .store-badge { background:#fff; color: var(--green-800); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding-block: 44px 28px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display:grid; gap: 16px; max-width: 34ch; }
.footer-brand .brand { color:#fff; }
.footer-brand p { font-size: .92rem; }
.footer-brand .brand small { color: var(--green-300); }
.foot-col h5 { color:#fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .02em; }
.foot-col a { display:block; padding: 6px 0; font-size: .92rem; opacity: .8; transition: opacity .2s, color .2s; }
.foot-col a:hover { opacity:1; color: var(--green-300); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.foot-social { display:flex; gap: 12px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display:grid; place-items:center; transition: background .2s, transform .2s; }
.foot-social a:hover { background: var(--green-500); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Hero (single column, no mockup)
   ============================================================ */
.hero-grid.solo { grid-template-columns: 1fr; max-width: 820px; }
.hero-tagline { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--green-600); margin: -6px 0 0; }
/* app icon sits inline before the store buttons (larger than the buttons) */
.hero-actions .hero-logo { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 18px; box-shadow: var(--shadow-sm); }

/* ============================================================
   Tutorial / Demo
   ============================================================ */
.demo-band {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg); color: #eaf5ee;
  background:
    radial-gradient(700px 360px at 88% -20%, rgba(78,172,102,.30), transparent 60%),
    linear-gradient(150deg, var(--green-700), var(--green-900));
  box-shadow: var(--shadow);
}
.demo-copy h2 { color: #fff; margin: 12px 0 10px; }
.demo-copy p { color: #cfe3d6; margin-bottom: 22px; }
.demo-thumb {
  position: relative; display: grid; place-items: center; gap: 14px;
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: linear-gradient(150deg, #1c3a24, #0e2113);
  border: 1px solid rgba(255,255,255,.14); overflow: hidden;
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.demo-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.demo-thumb .play {
  display: grid; place-items: center; width: 70px; height: 70px; border-radius: var(--radius-pill);
  background: var(--green-400); color: #06140b; box-shadow: 0 10px 28px rgba(78,172,102,.45);
}
.demo-thumb .play svg { width: 30px; height: 30px; margin-left: 3px; }
/* label pinned to the bottom so the play button sits dead-center */
.demo-thumb-label { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .82rem; letter-spacing: .03em; color: #9fc2ac; text-transform: uppercase; }

/* ============================================================
   Donation
   ============================================================ */
.donate-band {
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg);
  background: var(--green-100); border: 1px solid var(--line);
}
.donate-ico { font-size: 2.6rem; line-height: 1; }
.donate-band h2 { color: var(--green-800); margin: 14px 0 10px; }
.donate-band p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.donate-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.donate-note { display: block; margin-top: 16px; color: var(--green-600); font-style: italic; }

/* trim the doubled section padding between Donate and FAQ */
#support { padding-bottom: clamp(20px, 3vw, 34px); }
#faq { padding-top: clamp(12px, 2vw, 26px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .features-grid, .steps, .testi-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: -1; }
  .demo-band { grid-template-columns: 1fr; }
  .demo-thumb { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { gap: 12px; }
  /* collapse the entire nav — links AND action buttons — into the hamburger menu */
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open .nav-links {
    display: grid; position: absolute; top: 74px; left: 0; right: 0;
    background:#fff; padding: 14px var(--gutter) 22px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.menu-open .nav-links > a:not(.btn) { padding: 13px 2px; border-bottom: 1px solid var(--line); }
  /* the Sign in / Download actions appear inside the open menu */
  .nav-mobile-cta { display: inline-flex; width: 100%; }
  .nav-mobile-cta.btn-ghost { margin-top: 16px; }
  .nav-mobile-cta.btn-primary { margin-top: 10px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .features-grid, .steps, .testi-grid { grid-template-columns: 1fr; }
  .cat-card { flex-basis: 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .hero-actions { justify-content: center; }   /* center the app icon above the stacked store buttons */
  .hero-actions .store-badge { flex: 1 1 100%; justify-content: center; }
  .donate-actions .btn, .demo-copy .btn { width: 100%; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
