/* Sakinah by AIskout: one stylesheet for the Sakinah home page and every app page. */
:root {
  --bg: #f9f8f5;
  --card: #ffffff;
  --low: #f1efe9;
  --ink: #1d2823;
  --muted: #5d6862;
  --primary: #0f382c;
  --emerald: #0f382c;
  --on-emerald: #f9f8f5;
  --gold: #c9a35a;
  --gold-text: #8a6a2a;
  --line: rgba(15, 56, 44, 0.12);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 56, 44, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1512;
    --card: #14201b;
    --low: #18261f;
    --ink: #e9e7e1;
    --muted: #a7b1ab;
    --primary: #cfe6da;
    --emerald: #174839;
    --on-emerald: #e9e7e1;
    --gold: #e2bc74;
    --gold-text: #e2bc74;
    --line: rgba(233, 231, 225, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-text); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.top nav { margin-left: auto; display: flex; gap: 18px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.top nav a:hover { color: var(--primary); }

/* Sections */
section { padding: 72px 0; }
.eyebrow { color: var(--gold-text); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--primary); line-height: 1.15; margin: 0; }
h1 { font-family: "Noto Serif", Georgia, serif; font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.01em; }
h2 { font-family: "Noto Serif", Georgia, serif; font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 19px; }
.lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.arabic { font-family: "Amiri", "Noto Naskh Arabic", serif; color: var(--gold-text); }

/* Hero */
.hero { padding: 88px 0 64px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .arabic { font-size: 30px; margin: 8px 0 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; border: 1px solid transparent; }
.btn.primary { background: var(--emerald); color: var(--on-emerald); }
.btn.ghost { border-color: var(--line); color: var(--primary); background: var(--card); }
.btn.soon { opacity: .75; cursor: default; }
.phone { justify-self: center; width: min(300px, 80vw); border-radius: 36px; padding: 10px; background: #0b1411; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.phone img { border-radius: 28px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--low); color: var(--gold-text); font-size: 20px; margin-bottom: 12px; }

/* App tiles on the studio page */
.app { display: flex; gap: 18px; align-items: center; text-decoration: none; color: inherit; }
.app img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app .status { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--gold-text); background: var(--low); border-radius: 999px; padding: 3px 10px; }
.app.placeholder .ph { width: 72px; height: 72px; border-radius: 18px; flex: none; border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 26px; }

/* Bands */
.band { background: var(--emerald); color: var(--on-emerald); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.band h2, .band .lead { color: var(--on-emerald); }
.band .lead { opacity: .85; }
.feature-img { border-radius: 20px; }

/* Text pages (privacy) */
.doc { max-width: 720px; }
.doc h2 { font-size: 20px; font-family: inherit; margin-top: 28px; }
.doc p { color: var(--ink); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); }

.brand, .top nav a { white-space: nowrap; }
@media (max-width: 480px) {
  .top nav a.wide-only { display: none; }
  .brand { font-size: 16px; }
}
@media (max-width: 820px) {
  .hero .grid, .band { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 52px 0; }
  .band { padding: 28px; }
  .top nav { gap: 12px; }
}

/* ---------------------------------------------------------------- app page showcases */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--low); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .lead { margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald); color: var(--on-emerald); font-size: 12px; display: grid; place-items: center; font-weight: 700; }

/* A home screen with the real widget designs (mirrors android/app/src/main/res/layout). */
.homescreen { justify-self: center; width: min(340px, 86vw); aspect-ratio: 9 / 17; border-radius: 40px; padding: 26px 16px; background: linear-gradient(160deg, #2c5f8a 0%, #6b8fa8 40%, #c9a777 75%, #8a5a3a 100%); box-shadow: var(--shadow), 0 0 0 10px #0b1411; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.homescreen .clock { color: #fff; text-align: center; font-size: 46px; font-weight: 300; margin: 6px 0 4px; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.homescreen .date { color: rgba(255,255,255,.9); text-align: center; font-size: 13px; margin-top: -10px; }
.w { border-radius: 22px; background: linear-gradient(135deg, #174839, #0f382c); color: #f9f8f5; padding: 12px 14px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.w .gold { color: #e6c98f; }
.w .muted { color: rgba(249,248,245,.7); }
.w-strip { display: flex; align-items: center; justify-content: space-between; }
.w-strip .n { font-family: "Noto Serif", Georgia, serif; font-size: 26px; line-height: 1; }
.w-strip .t { font-weight: 700; font-size: 18px; }
.w-row { display: flex; gap: 14px; }
.w-counter { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.w-counter .ar { font-family: "Amiri", serif; font-size: 22px; text-align: center; line-height: 1.3; }
.w-counter .n { font-family: "Noto Serif", Georgia, serif; font-size: 30px; text-align: center; line-height: 1; }
.bar { height: 4px; border-radius: 4px; background: rgba(249,248,245,.2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 79%; background: #e6c98f; border-radius: 4px; }
.w-mini { width: 92px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.w-mini .n { font-family: "Noto Serif", Georgia, serif; font-size: 30px; }
.checks { display: flex; justify-content: space-between; font-size: 10px; margin-top: 8px; color: rgba(249,248,245,.7); }
.checks .done { color: #e6c98f; font-weight: 700; }
.checks .now { color: #e6c98f; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.w-mini .hint { font-size: 9px; }
/* Dua of the Moment widget, drawn in the light theme the widgets also come in. */
.w.light { background: #fff; color: #0f382c; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.w.light .gold { color: #745b20; }
.w.light .muted { color: rgba(15,56,44,.72); }
.w-dua .label { font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.w-dua .ar { font-family: "Amiri", serif; font-size: 18px; line-height: 1.5; text-align: right; margin-top: 2px; }
.w-dua .meaning { font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 11px; }
.w-dua .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 8px; }
.w-dua .pill-btn { background: #f6ecd3; color: #5a4309; font-weight: 700; font-size: 11px; padding: 3px 10px; border-radius: 12px; }
.w-dua .rakat { border: 1px solid rgba(116,91,32,.35); background: rgba(196,164,98,.12); border-radius: 12px; padding: 2px 8px; font-size: 10px; white-space: nowrap; }
.tap-hint { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: ping 1.8s infinite; pointer-events: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }

/* Voice spotlight */
.voice { background: radial-gradient(120% 120% at 20% 0%, #1f5a47 0%, #0b2a21 60%); color: #f9f8f5; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.voice h2, .voice .eyebrow { color: #e6c98f; }
.voice h2 { color: #f9f8f5; }
.voice .lead { color: rgba(249,248,245,.82); }
.voice .ticks li { color: #f9f8f5; }
.voice .ticks li::before { background: #e6c98f; color: #0f382c; }
.mic { display: grid; place-items: center; gap: 18px; }
.mic .orb { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; font-size: 52px; background: radial-gradient(circle at 35% 30%, #f3d9a6, #c9a35a 55%, #7a5a1e); box-shadow: 0 0 0 14px rgba(230,201,143,.12), 0 0 0 30px rgba(230,201,143,.06); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 0 0 18px rgba(230,201,143,.16), 0 0 0 38px rgba(230,201,143,.05); } }
.wave { display: flex; gap: 5px; align-items: center; height: 44px; }
.wave span { width: 6px; border-radius: 6px; background: #e6c98f; animation: wave 1.1s ease-in-out infinite; }
.wave span:nth-child(odd) { animation-delay: .2s; } .wave span:nth-child(3n) { animation-delay: .45s; }
@keyframes wave { 0%, 100% { height: 10px; opacity: .6; } 50% { height: 42px; opacity: 1; } }
.said { font-family: "Amiri", serif; font-size: 28px; color: #f9f8f5; }
.count-pop { font-size: 14px; color: #e6c98f; font-weight: 700; letter-spacing: .06em; }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; max-width: 860px; margin-left: auto; margin-right: auto; }
.gallery figure { margin: 0; }
.gallery .phone { width: 100%; padding: 7px; border-radius: 26px; }
.gallery .phone img { border-radius: 20px; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; font-weight: 600; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--primary); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Final call to action */
.final { text-align: center; }
.final img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 18px; box-shadow: var(--shadow); }
.final .cta { justify-content: center; }

@media (max-width: 900px) {
  .split, .voice { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .voice { padding: 32px 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
.dock { margin-top: auto; display: flex; justify-content: space-around; padding: 12px 10px; border-radius: 26px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.dock img, .dock i { width: 48px; height: 48px; border-radius: 50%; }
.dock i { background: rgba(255,255,255,.55); }
