
:root {
  --ink: #14231e;
  --ink-soft: #40534b;
  --cream: #fbf7ef;
  --cream-deep: #f3eadb;
  --paper: #fffdf8;
  --green-950: #00372f;
  --green-900: #06463b;
  --green-800: #0c5a49;
  --green-700: #13705b;
  --green-100: #dbece6;
  --gold: #d9ad59;
  --gold-strong: #be8e34;
  --line: rgba(20, 35, 30, .12);
  --shadow-sm: 0 12px 30px rgba(22, 57, 46, .08);
  --shadow-lg: 0 30px 70px rgba(11, 55, 45, .18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1220px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button, select { cursor: pointer; }
img, video { display: block; max-width: 100%; }
button { border: 0; }
:focus-visible { outline: 3px solid rgba(217, 173, 89, .72); outline-offset: 3px; }
::selection { background: rgba(217, 173, 89, .35); }

.skip-link {
  position: fixed; inset-inline-start: 16px; top: -90px; z-index: 1000;
  background: var(--paper); color: var(--green-950); padding: 12px 18px;
  border-radius: 0 0 14px 14px; box-shadow: var(--shadow-sm); font-weight: 800;
}
.skip-link:focus { top: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tight { padding: clamp(44px, 6vw, 76px) 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-green { background: var(--green-950); color: white; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px;
  border: 1px solid rgba(190, 142, 52, .36); border-radius: 999px;
  color: var(--green-900); background: rgba(255,255,255,.58);
  font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}
.eyebrow::before { content: "✦"; color: var(--gold-strong); font-size: 12px; }
.display, h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { margin: 0; font-size: clamp(44px, 5.9vw, 82px); line-height: .99; font-weight: 700; }
h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; font-weight: 700; }
h3 { margin: 0; font-size: clamp(21px, 2.1vw, 29px); line-height: 1.18; }
p { margin: 0; }
.lead { color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; }
.muted { color: var(--ink-soft); }
.kicker { color: var(--green-800); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 55, 47, .97);
  color: white; border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 8px 28px rgba(0, 42, 35, .14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 43px; height: 43px; object-fit: cover; border-radius: 12px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { font-family: Georgia, serif; font-size: 25px; }
.brand-tag { font-size: 10px; color: rgba(255,255,255,.72); letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: center; gap: 5px; margin-inline: auto; }
.nav-link, .nav-dropdown-button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0 13px; border-radius: 12px; color: rgba(255,255,255,.84);
  background: transparent; font-size: 14px; font-weight: 650;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-dropdown-button:hover, .nav-dropdown.open .nav-dropdown-button {
  color: white; background: rgba(255,255,255,.08);
}
.nav-link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-inline-start: 2px; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 9px); inset-inline-start: 0; min-width: 245px;
  padding: 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: #063e35; box-shadow: 0 24px 55px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(-7px); transition: .18s ease;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; color: rgba(255,255,255,.86); }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.08); color: white; }
.nav-dropdown-menu img { width: 30px; height: 30px; object-fit: cover; border-radius: 9px; }
.header-actions { display: flex; align-items: center; gap: 9px; min-width: max-content; }
.lang-wrap { position: relative; }
.lang-select {
  min-height: 43px; max-width: 112px; padding: 0 33px 0 12px;
  border: 1px solid rgba(255,255,255,.17); border-radius: 12px;
  background: rgba(255,255,255,.07); color: white; font-size: 13px; outline: none;
}
html[dir="rtl"] .lang-select { padding: 0 12px 0 33px; }
.lang-select option { color: #10231d; background: white; }
.header-download {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px;
  padding: 0 17px; border-radius: 12px; background: linear-gradient(135deg, #e5c173, #d8aa51);
  color: #17352d; font-size: 13px; font-weight: 850; box-shadow: inset 0 1px rgba(255,255,255,.55);
}
.header-download:hover { filter: brightness(1.05); transform: translateY(-1px); }
.mobile-menu-button { display: none; width: 43px; height: 43px; border-radius: 12px; background: rgba(255,255,255,.08); color: white; }
.mobile-panel { display: none; position: fixed; inset: 76px 0 0; z-index: 99; background: rgba(0,45,38,.98); padding: 22px; overflow-y: auto; }
.mobile-panel.open { display: block; }
.mobile-panel nav { display: grid; gap: 7px; }
.mobile-panel a { display: flex; align-items: center; min-height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; color: white; background: rgba(255,255,255,.04); }
.mobile-panel .mobile-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 14px; }
.mobile-panel .mobile-apps a { min-height: 72px; gap: 10px; }
.mobile-panel .mobile-apps img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 20px; border-radius: 14px;
  font-size: 14px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-900); color: white; box-shadow: 0 12px 25px rgba(0,70,59,.2); }
.btn-primary:hover { background: var(--green-800); }
.btn-gold { background: linear-gradient(135deg, #e8c77e, #d6a74d); color: #1e372f; box-shadow: 0 12px 25px rgba(185,133,43,.2); }
.btn-outline { border: 1px solid rgba(20,35,30,.18); color: var(--ink); background: rgba(255,255,255,.55); }
.btn-soft { background: rgba(0,70,59,.07); color: var(--green-900); border: 1px solid rgba(0,70,59,.1); }
.btn svg, .header-download svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* Home hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(238, 196, 111, .26), transparent 31%),
    radial-gradient(circle at 88% 23%, rgba(143, 191, 173, .28), transparent 33%),
    linear-gradient(120deg, #fffaf1 0%, #fbf5e9 54%, #eef4ef 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .24;
  background-image: linear-gradient(30deg, transparent 49%, rgba(0,70,59,.12) 50%, transparent 51%), linear-gradient(-30deg, transparent 49%, rgba(0,70,59,.09) 50%, transparent 51%);
  background-size: 64px 112px; mask-image: linear-gradient(to right, #000, transparent 47%, transparent 58%, #000);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 34%; z-index: -1; opacity: .16;
  background: linear-gradient(150deg, transparent 40%, #b78d58 40.3% 42%, transparent 42.3%), linear-gradient(30deg, transparent 48%, #8a6d47 48.2% 49.4%, transparent 49.6%);
  background-size: 300px 150px, 420px 180px;
}
.hero-grid { min-height: 610px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(30px, 5vw, 74px); padding: clamp(68px, 7vw, 100px) 0 62px; }
.hero-copy { max-width: 650px; }
.hero-copy h1 { margin-top: 20px; }
.hero-copy .accent { color: var(--green-800); }
.hero-copy .lead { margin-top: 22px; max-width: 610px; }
.hero-copy .button-row { margin-top: 28px; }
.store-mini-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 23px; color: var(--ink-soft); font-size: 13px; }
.store-mini-row a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.store-mini-row a:hover { color: var(--green-800); }
.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.phone-stage { position: relative; width: min(100%, 570px); height: 510px; }
.hero-shot {
  position: absolute;
  width: 205px;
  aspect-ratio: 236 / 512;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 58px rgba(0,47,39,.24);
  overflow: hidden;
  transform-origin: center center;
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot.left { left: 2px; top: 48px; transform: rotate(-7deg); z-index: 1; }
.hero-shot.center { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; width: 236px; }
.hero-shot.right { right: 2px; top: 48px; transform: rotate(7deg); z-index: 2; }
.hero-floating-card {
  position: absolute; z-index: 4; inset-inline-end: 7%; bottom: 7px;
  width: 190px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 17px;
  background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px);
  color: var(--ink); font-size: 12px;
}
.hero-floating-card strong { display: block; color: var(--green-900); font-size: 17px; }

/* App cards */
.apps-overview { margin-top: -1px; position: relative; z-index: 2; }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.app-card {
  position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 22px;
  border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0,70,59,.23); }
.app-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; inset-inline-end: -50px; top: -45px; background: var(--app-glow, rgba(0,70,59,.08)); }
.app-card-top { display: flex; gap: 14px; align-items: center; position: relative; z-index: 1; }
.app-icon { width: 62px; height: 62px; border-radius: 17px; object-fit: cover; box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.app-card h3 { font-family: inherit; letter-spacing: -.015em; font-size: 20px; }
.app-card .tagline { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.app-card .desc { color: var(--ink-soft); font-size: 14px; margin-top: 18px; }
.app-card .card-link { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--green-900); font-weight: 850; font-size: 13px; }
.app-card .card-link:hover { gap: 10px; }

/* Facts */
.facts-strip { background: var(--green-950); color: white; position: relative; overflow: hidden; }
.facts-strip::before { content: ""; position: absolute; inset: 0; opacity: .09; background-image: radial-gradient(circle at center, #fff 1px, transparent 1px); background-size: 18px 18px; }
.facts-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { min-height: 132px; display: flex; align-items: center; gap: 17px; padding: 25px 30px; border-inline-end: 1px solid rgba(255,255,255,.13); }
.fact:last-child { border-inline-end: 0; }
.fact-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(217,173,89,.68); border-radius: 50%; color: var(--gold); flex: 0 0 auto; }
.fact-icon svg { width: 24px; height: 24px; }
.fact-value { font-family: Georgia, serif; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.fact-label { margin-top: 5px; color: rgba(255,255,255,.72); font-size: 12px; }

/* General cards and grids */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 8px 22px rgba(20,35,30,.04); }
.feature-card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--green-100); color: var(--green-800); margin-bottom: 17px; }
.feature-card-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-family: inherit; font-size: 18px; letter-spacing: -.01em; }
.feature-card p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

/* Prayer widget */
.prayer-shell { border: 1px solid rgba(0,70,59,.13); border-radius: var(--radius-lg); background: linear-gradient(135deg, white, #f8f4e9); box-shadow: var(--shadow-lg); overflow: hidden; }
.prayer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 28px 30px; border-bottom: 1px solid var(--line); }
.prayer-head h2 { font-size: clamp(29px, 3vw, 43px); }
.prayer-head p { color: var(--ink-soft); margin-top: 5px; }
.powered { color: var(--green-800); font-size: 12px; font-weight: 700; }
.prayer-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 25px 30px 15px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); outline: none; }
.field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,173,89,.18); }
.prayer-status { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 0 30px 16px; color: var(--ink-soft); font-size: 12px; }
.prayer-error { color: #8b2f2f; background: #fff0ef; border: 1px solid #efc4c0; padding: 8px 12px; border-radius: 12px; }
.hidden { display: none !important; }
.prayer-times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; padding: 0 30px 30px; }
.prayer-time { padding: 19px; border: 1px solid rgba(0,70,59,.1); border-radius: 18px; background: rgba(255,255,255,.72); }
.prayer-time span { display: block; color: var(--ink-soft); font-size: 12px; }
.prayer-time strong { display: block; margin-top: 6px; font-family: Georgia, serif; color: var(--green-900); font-size: 28px; font-variant-numeric: tabular-nums; }

/* Screenshot galleries */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery.compact { grid-template-columns: repeat(3, 1fr); }
.gallery-card { position: relative; border-radius: 24px; overflow: hidden; background: #eef1ed; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .4s ease; }
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card button { position: absolute; inset: 0; width: 100%; background: transparent; color: transparent; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 27%); gap: 16px; overflow-x: auto; padding: 2px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.scroller .gallery-card { scroll-snap-align: start; }
.screenshots-showcase .section-heading { margin-bottom: 28px; }
.screenshots-showcase .scroller { grid-auto-columns: minmax(280px, 31%); gap: 22px; padding-bottom: 24px; }
.screenshots-showcase .gallery-card { border-radius: 28px; }

/* App showcase rows */
.showcase { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(38px, 7vw, 92px); }
.showcase.reverse .showcase-copy { order: 2; }
.showcase.reverse .showcase-media { order: 1; }
.showcase-logo { width: 66px; height: 66px; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-sm); }
.showcase-title-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.showcase-copy .lead { margin-top: 16px; }
.showcase-copy .button-row { margin-top: 24px; }
.showcase-media { position: relative; min-height: 460px; display: grid; place-items: center; }
.poster-stack { position: relative; width: min(100%, 500px); height: 450px; }
.poster { position: absolute; width: 210px; border-radius: 25px; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid white; }
.poster img { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; }
.poster.a { left: 10%; top: 48px; transform: rotate(-8deg); }
.poster.b { left: 37%; top: 0; z-index: 3; }
.poster.c { right: 4%; top: 56px; transform: rotate(8deg); }

/* Internal page hero */
.page-main { overflow: hidden; }
.page-hero { position: relative; isolation: isolate; background: linear-gradient(135deg, #fffaf1, #eff5f1); border-bottom: 1px solid var(--line); }
.page-hero-grid { min-height: 530px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding: 62px 0; }
.page-hero-copy .app-heading { display: flex; align-items: center; gap: 17px; margin: 16px 0 18px; }
.page-hero-copy .app-heading img { width: 76px; height: 76px; border-radius: 21px; object-fit: cover; box-shadow: var(--shadow-sm); }
.page-hero-copy h1 { font-size: clamp(48px, 6vw, 76px); }
.page-hero-copy .lead { max-width: 620px; }
.page-hero-copy .button-row { margin-top: 27px; }
.availability-note { margin-top: 16px; color: var(--ink-soft); font-size: 13px; }
.page-device { position: relative; display: grid; place-items: center; min-height: 410px; }
.page-device .device-poster { width: min(330px, 78%); border-radius: 34px; border: 8px solid white; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(2.5deg); }
.page-device .device-poster img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.page-device::before, .page-device::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(0,70,59,.14); }
.page-device::before { width: 390px; height: 390px; }
.page-device::after { width: 470px; height: 470px; }

/* Apps directory */
.directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.directory-card { display: grid; grid-template-columns: 105px 1fr; gap: 22px; padding: 27px; border: 1px solid var(--line); border-radius: 27px; background: white; box-shadow: var(--shadow-sm); }
.directory-card img { width: 105px; height: 105px; border-radius: 25px; object-fit: cover; }
.directory-card h2 { font-family: inherit; font-size: 29px; }
.directory-card .tagline { color: var(--green-800); font-size: 13px; font-weight: 750; margin-top: 4px; }
.directory-card .desc { color: var(--ink-soft); margin-top: 12px; font-size: 14px; }
.directory-card .button-row { margin-top: 18px; }

/* About and CTA */
.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
.about-panel { padding: 34px; border: 1px solid var(--line); border-radius: 30px; background: white; box-shadow: var(--shadow-sm); }
.about-list { display: grid; gap: 15px; margin-top: 22px; }
.about-item { display: flex; gap: 14px; align-items: flex-start; }
.about-item-check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-size: 13px; font-weight: 900; flex: 0 0 auto; }
.contact-cta { background: linear-gradient(115deg, var(--green-950), #0a5c4a); color: white; border-radius: 36px; padding: clamp(34px, 5vw, 62px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; overflow: hidden; position: relative; }
.contact-cta::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(217,173,89,.28); border-radius: 50%; inset-inline-end: -80px; top: -100px; }
.contact-cta h2 { font-size: clamp(29px, 3.4vw, 46px); }
.contact-cta p { color: rgba(255,255,255,.72); margin-top: 9px; max-width: 680px; }
.contact-cta .button-row { position: relative; z-index: 1; }

/* Support/privacy */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.info-card { display: flex; flex-direction: column; min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: var(--shadow-sm); }
.info-card .info-top { display: flex; align-items: center; gap: 14px; }
.info-card img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.info-card h2, .info-card h3 { font-family: inherit; font-size: 22px; }
.info-card p { margin-top: 14px; color: var(--ink-soft); }
.info-card .button-row, .info-card .card-link { margin-top: auto; padding-top: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 30px; border-radius: 27px; border: 1px solid var(--line); background: white; }
.contact-list { margin: 20px 0 0; padding-inline-start: 20px; color: var(--ink-soft); }
.contact-list li + li { margin-top: 10px; }

/* Footer */
.site-footer { background: #002f28; color: white; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 50px; padding: 58px 0 38px; }
.footer-brand p { color: rgba(255,255,255,.66); margin-top: 14px; max-width: 320px; font-size: 14px; }
.footer-title { font-weight: 850; margin-bottom: 13px; color: white; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.66); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.5); font-size: 12px; }
.social-row { display: flex; gap: 9px; }
.social-link { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.78); }
.social-link:hover { color: var(--gold); border-color: rgba(217,173,89,.5); }
.social-link svg { width: 18px; height: 18px; }

/* Modal and lightbox */
.modal { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; padding: 22px; }
.modal.open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,30,25,.74); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(100%, 580px); max-height: calc(100vh - 44px); overflow-y: auto; padding: 27px; border-radius: 27px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 90px rgba(0,0,0,.34); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.modal-head h3 { font-family: Georgia, serif; font-size: 28px; }
.modal-close { width: 42px; height: 42px; border-radius: 13px; background: rgba(0,70,59,.08); color: var(--green-900); font-size: 21px; }
.download-list { display: grid; gap: 11px; margin-top: 20px; }
.download-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.download-item:hover { border-color: rgba(0,70,59,.25); box-shadow: var(--shadow-sm); }
.download-item img { width: 49px; height: 49px; border-radius: 14px; object-fit: cover; }
.download-item strong { display: block; }
.download-item span { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 2px; }
.lightbox-dialog { width: min(92vw, 680px); padding: 0; background: transparent; box-shadow: none; overflow: visible; }
.lightbox-dialog img { max-height: 88vh; margin: auto; border-radius: 25px; box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.lightbox-dialog .modal-close { position: absolute; top: -14px; inset-inline-end: -14px; z-index: 2; background: white; }

/* Redirect / 404 */
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, #fff7e8, #ecf3ef); }
.center-card { width: min(100%, 560px); text-align: center; padding: 42px; border: 1px solid var(--line); border-radius: 32px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-lg); }
.center-card img { width: 82px; height: 82px; border-radius: 22px; object-fit: cover; margin: 0 auto 18px; }
.center-card h1 { font-size: clamp(36px, 7vw, 55px); }
.center-card p { color: var(--ink-soft); margin-top: 15px; }
.center-card .button-row { justify-content: center; margin-top: 24px; }

/* Accessibility and responsive */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; place-items: center; }
  .header-inner { gap: 14px; }
  .header-actions { margin-inline-start: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-inline-end: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .scroller { grid-auto-columns: minmax(220px, 35%); }
  .screenshots-showcase .scroller { grid-auto-columns: minmax(260px, 42%); }
}
@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-tag { display: none; }
  .header-download { display: none; }
  .lang-select { max-width: 90px; }
  .hero-grid, .page-hero-grid, .showcase, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 58px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-copy .button-row, .store-mini-row { justify-content: center; }
  .hero-visual { min-height: 440px; }
  .phone-stage { height: 440px; max-width: 500px; }
  .hero-shot { width: 176px; }
  .hero-shot.center { width: 202px; }
  .showcase.reverse .showcase-copy, .showcase.reverse .showcase-media { order: initial; }
  .showcase-copy { text-align: center; }
  .showcase-title-row, .showcase-copy .button-row { justify-content: center; }
  .page-hero-grid { text-align: center; gap: 25px; }
  .page-hero-copy .app-heading, .page-hero-copy .button-row { justify-content: center; }
  .page-device { min-height: 380px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .prayer-controls { grid-template-columns: 1fr; }
  .prayer-times { grid-template-columns: repeat(3, 1fr); }
  .directory-grid, .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .contact-cta { grid-template-columns: 1fr; text-align: center; }
  .contact-cta .button-row { justify-content: center; }
}
@media (max-width: 560px) {
  .header-inner { min-height: 68px; }
  .mobile-panel { inset-block-start: 68px; }
  .brand-name { font-size: 20px; }
  .brand-mark { width: 38px; height: 38px; }
  .lang-select { min-height: 39px; max-width: 82px; padding-inline: 9px; }
  .mobile-menu-button { width: 39px; height: 39px; }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-grid { min-height: auto; padding: 48px 0 38px; }
  .hero-visual { min-height: 340px; }
  .phone-stage { height: 390px; width: 320px; }
  .hero-shot.left, .hero-shot.right { display: none; }
  .hero-shot.center { width: 180px; top: 0; }
  .hero-floating-card { inset-inline-end: 0; bottom: 0; width: 152px; }
  .app-grid, .feature-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.13); min-height: 104px; }
  .fact:last-child { border-bottom: 0; }
  .prayer-head { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
  .prayer-controls { padding: 20px 20px 13px; }
  .prayer-status { padding-inline: 20px; align-items: flex-start; flex-direction: column; }
  .prayer-times { grid-template-columns: repeat(2, 1fr); padding: 0 20px 22px; }
  .prayer-time:last-child { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .scroller { grid-auto-columns: 76%; }
  .screenshots-showcase .scroller { grid-auto-columns: 84%; gap: 14px; }
  .poster-stack { height: 360px; width: 320px; }
  .poster { width: 158px; }
  .poster.a { left: 0; }
  .poster.b { left: 26%; }
  .poster.c { right: 0; }
  .directory-card { grid-template-columns: 76px 1fr; gap: 16px; padding: 20px; }
  .directory-card img { width: 76px; height: 76px; border-radius: 20px; }
  .directory-card .button-row { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .center-card { padding: 30px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Official preview video retained from the original website */
.official-preview .section-heading{max-width:780px;margin-inline:auto}
.video-card{max-width:1040px;margin:34px auto 0;padding:10px;border:1px solid rgba(0,70,59,.14);border-radius:28px;background:linear-gradient(145deg,#fff,#f5efe2);box-shadow:var(--shadow-lg);overflow:hidden}
.video-card video{display:block;width:100%;max-height:590px;border-radius:20px;background:#062f29;object-fit:cover}
@media (max-width:640px){.video-card{padding:6px;border-radius:20px}.video-card video{border-radius:15px}}
