:root {
  --page: #f8f6ef;
  --surface: #ffffff;
  --text: #25342d;
  --muted: #617168;
  --green: #0d4a32;
  --green-soft: #e6efe9;
  --gold: #b88a24;
  --gold-soft: #f4ead1;
  --border: #e3ddcd;
  --shadow: 0 20px 60px rgba(13, 74, 50, 0.1);
}

html[data-theme="dark"] {
  --page: #07120d;
  --surface: #111f18;
  --text: #edf5ee;
  --muted: #b4c5bb;
  --green: #9bd8b5;
  --green-soft: #163728;
  --gold: #e0b654;
  --gold-soft: #3f3216;
  --border: rgba(224, 182, 84, 0.26);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(230, 239, 233, 0.72), transparent 360px),
    var(--page);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(184, 138, 36, 0.16), transparent 280px),
    radial-gradient(circle at top right, rgba(13, 74, 50, 0.12), transparent 320px);
}

.policy-shell {
  position: relative;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero,
section {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(32px, 6vw, 64px);
  border-radius: 8px 8px 0 0;
  border-top: 5px solid var(--gold);
}

section {
  padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 56px);
  border-top: 0;
}

section:last-child {
  border-radius: 0 0 8px 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
}

h1,
h2 {
  margin: 0;
  color: var(--green);
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 8vw, 4.75rem);
}

h2 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold-soft);
  font-size: clamp(1.35rem, 4vw, 2rem);
}

p {
  margin: 0;
  font-size: 1.03rem;
}

p + p,
p + ul,
ul + p {
  margin-top: 16px;
}

.updated {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 12px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--green);
  background: var(--gold-soft);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.intro {
  max-width: 740px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.confirmation-shell {
  max-width: 820px;
}

.confirmation-card {
  border-left: 5px solid var(--gold);
}

.status-error {
  border-left-color: #9d2f2f;
}

.status-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.status-error .status-label {
  color: #7b1f1f;
  background: #f7dddd;
}

body[data-confirmation-status="success"] .status-error,
body[data-confirmation-status="error"] .status-success {
  display: none;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.2;
  text-align: center;
}

.button-link {
  padding: 12px 18px;
  color: #ffffff;
  background: var(--green);
  text-decoration: none;
}

.button-link:hover,
.button-link:focus {
  color: #ffffff;
  background: #083522;
}

.secondary-link {
  padding: 11px 16px;
  border: 1px solid var(--gold-soft);
  background: #fffaf0;
}

ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

li {
  padding-left: 0.2rem;
}

li + li {
  margin-top: 8px;
}

li::marker {
  color: var(--gold);
}

a {
  color: var(--green);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

a:hover,
a:focus {
  color: #083522;
  text-decoration-thickness: 2px;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] a:focus {
  color: #c9f0d8;
}

.auth-page {
  min-height: 100vh;
  color: var(--text);
  background: var(--page);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.55;
}

.auth-page::before {
  display: none;
}

.auth-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px 0;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.auth-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.auth-brand span {
  font-size: 1rem;
  font-weight: 800;
}

.theme-toggle {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--gold);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  min-height: min(640px, calc(100svh - 104px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #d9eee0;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 20, 14, 0.08),
    rgba(6, 20, 14, 0.05) 48%,
    rgba(6, 20, 14, 0.58)
  );
}

.auth-visual-image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.auth-visual-dark {
  display: none;
}

html[data-theme="dark"] .auth-visual-light {
  display: none;
}

html[data-theme="dark"] .auth-visual-dark {
  display: block;
}

.auth-visual-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.auth-visual-caption p {
  max-width: 360px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 4.4vw, 56px);
  border-left: 1px solid var(--border);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--green-soft) 42%, transparent), transparent 36%),
    var(--surface);
}

.auth-card-success {
  border-top: 5px solid var(--gold);
}

.auth-card h1 {
  max-width: 560px;
  margin: 0;
  color: var(--green);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.auth-copy {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.auth-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-page .status-label {
  width: fit-content;
  margin-bottom: 18px;
  color: var(--green);
  background: var(--green-soft);
}

.auth-page .button-link {
  min-height: 48px;
  padding: 13px 20px;
  background: var(--green);
  font-weight: 800;
}

html[data-theme="dark"] .auth-page .button-link {
  color: #07120d;
}

.auth-page .secondary-link {
  color: var(--green);
  background: color-mix(in srgb, var(--gold-soft) 42%, var(--surface));
  text-decoration: none;
}

@media (max-width: 640px) {
  .policy-shell {
    width: min(100% - 20px, 920px);
    padding: 20px 0;
  }

  .hero,
  section {
    box-shadow: 0 14px 38px rgba(13, 74, 50, 0.08);
  }

  .hero {
    padding: 28px 22px;
  }

  section {
    padding: 24px 22px;
  }

  h1 {
    font-size: 2.45rem;
  }

  p,
  li {
    font-size: 1rem;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .button-link,
  .secondary-link {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .auth-shell {
    width: min(100% - 32px, 1120px);
    padding: 18px 0;
  }

  .auth-topbar {
    margin-bottom: 16px;
  }

  .auth-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .auth-visual {
    min-height: 210px;
  }

  .auth-visual::after {
    background: linear-gradient(
      180deg,
      rgba(6, 20, 14, 0.02),
      rgba(6, 20, 14, 0.72)
    );
  }

  .auth-card {
    border-left: 0;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .auth-shell {
    width: min(100% - 32px, 1120px);
    padding: 14px 0 18px;
  }

  .auth-topbar {
    gap: 10px;
    margin-bottom: 12px;
  }

  .auth-brand {
    gap: 10px;
  }

  .auth-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .auth-brand span {
    font-size: 0.92rem;
  }

  .theme-toggle {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .auth-visual {
    min-height: 132px;
  }

  .auth-visual-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .auth-visual-caption p {
    max-width: 260px;
    font-size: 1.12rem;
    line-height: 1.15;
  }

  .auth-card {
    padding: 20px 18px 22px;
  }

  .auth-card h1 {
    font-size: clamp(2rem, 8.6vw, 2.375rem);
    line-height: 1.14;
  }

  .auth-copy {
    margin-top: 14px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .auth-page .status-label {
    margin-bottom: 12px;
    padding: 5px 10px;
    font-size: 0.76rem;
  }

  .auth-page .confirmation-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .auth-page .button-link,
  .auth-page .secondary-link {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .auth-note {
    margin-top: 14px;
    font-size: 0.88rem;
  }
}

/* Official website v1 disabled
html {
  scroll-behavior: smooth;
}

body.site-page {
  --site-page: #f6f1e7;
  --site-ink: #17352c;
  --site-muted: #65756e;
  --site-surface: #fffdf7;
  --site-soft: #efe6d3;
  --site-line: #ded4bf;
  --site-emerald: #064b39;
  --site-teal: #1d9588;
  --site-gold: #c99a38;
  --site-gold-soft: #f3e3bd;
  --site-shadow: 0 20px 48px rgba(23, 53, 44, 0.12);
  min-height: 100vh;
  color: var(--site-ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(246, 241, 231, 0.96)),
    var(--site-page);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

body.site-page::before {
  display: none;
}

.site-page a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.site-page a:hover,
.site-page a:focus {
  color: var(--site-emerald);
}

.site-page h1,
.site-page h2,
.site-page h3,
.site-page h4,
.site-page p {
  margin: 0;
  letter-spacing: 0;
}

.site-page h1,
.site-page h2,
.site-page h3,
.site-page h4 {
  color: var(--site-emerald);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  line-height: 1.08;
}

.site-page h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.5rem);
}

.site-page h2 {
  max-width: 760px;
  padding: 0;
  border: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
}

.site-page h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.site-page h4 {
  font-size: 1.08rem;
}

.site-page p {
  color: var(--site-muted);
  font-size: 1rem;
}

.site-page section {
  padding: clamp(72px, 9vw, 132px) 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#home {
  scroll-margin-top: 76px;
}

.site-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 42px);
  border-bottom: 1px solid rgba(222, 212, 191, 0.72);
  background: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--site-ink);
  font-weight: 800;
}

.site-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(6, 75, 57, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.8vw, 24px);
  overflow-x: auto;
  color: #41564e;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: clamp(86px, 10vw, 150px) 0 clamp(42px, 8vw, 84px);
  background:
    linear-gradient(90deg, rgba(246, 241, 231, 0.96) 0%, rgba(246, 241, 231, 0.88) 44%, rgba(246, 241, 231, 0.38) 100%),
    url("assets/auth-hero-light.jpg") center / cover no-repeat;
}

@supports (background-image: image-set(url("assets/auth-hero-light.webp") type("image/webp"))) {
  .home-hero {
    background:
      linear-gradient(90deg, rgba(246, 241, 231, 0.96) 0%, rgba(246, 241, 231, 0.88) 44%, rgba(246, 241, 231, 0.38) 100%),
      image-set(
        url("assets/auth-hero-light.webp") type("image/webp"),
        url("assets/auth-hero-light.jpg") type("image/jpeg")
      ) center / cover no-repeat;
  }
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--site-page));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: clamp(30px, 7vw, 92px);
  align-items: end;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--site-teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--site-gold);
}

.hero-lede {
  max-width: 650px;
  margin-top: 24px;
  color: #4d5e56;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.site-page .hero-title-support {
  max-width: 720px;
  margin-top: 14px;
  color: var(--site-emerald);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.75rem, 4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.site-button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-weight: 850;
  line-height: 1.15;
}

.site-button {
  padding: 13px 22px;
}

.site-button-primary {
  color: #ffffff;
  background: var(--site-emerald);
  box-shadow: 0 16px 34px rgba(6, 75, 57, 0.22);
}

.site-button-secondary {
  color: var(--site-emerald);
  border-color: rgba(6, 75, 57, 0.22);
  background: rgba(255, 253, 247, 0.76);
}

.hero-metrics {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(222, 212, 191, 0.82);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 14px 34px rgba(23, 53, 44, 0.08);
}

.hero-metrics dt {
  color: var(--site-emerald);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--site-muted);
  font-size: 0.95rem;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: clamp(34px, 6vw, 62px);
}

.section-heading p:not(.section-kicker) {
  max-width: 680px;
  font-size: 1.08rem;
}

.showcase-section {
  background:
    linear-gradient(180deg, var(--site-page), #fffaf0 52%, var(--site-page));
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(330px, 1.16fr) minmax(250px, 0.88fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.journey-column,
.trust-column {
  display: grid;
  gap: 16px;
}

.story-card,
.feature-card,
.download-mini,
.testimonial,
.download-qr-card {
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 14px 38px rgba(23, 53, 44, 0.08);
}

.story-card {
  padding: 20px;
}

.story-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--site-gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.story-card p {
  margin-top: 9px;
  font-size: 0.95rem;
}

.app-showcase {
  margin: 0;
  text-align: center;
}

.app-frame {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(6, 75, 57, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.95), rgba(239, 230, 211, 0.82)),
    var(--site-surface);
  box-shadow: var(--site-shadow);
}

.app-frame::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  width: 70%;
  height: 170px;
  transform: translateX(-50%);
  border: 1px solid rgba(201, 154, 56, 0.46);
  border-radius: 50% 50% 8px 8px;
  pointer-events: none;
}

.app-frame-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--site-emerald);
  font-weight: 900;
}

.app-frame-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 8px;
}

.app-frame-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
}

.app-screen {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(222, 212, 191, 0.9);
  border-radius: 8px;
  background: #fbf8f0;
  box-shadow: 0 16px 44px rgba(23, 53, 44, 0.18);
  object-fit: cover;
}

.app-screen-main {
  position: relative;
  z-index: 3;
  width: min(68%, 286px);
  height: auto;
}

.app-screen-side {
  position: absolute;
  z-index: 1;
  width: min(44%, 190px);
  opacity: 0.82;
}

.app-screen-quran {
  left: 0;
  top: 74px;
  transform: rotate(-2deg);
}

.app-screen-dua {
  right: 0;
  bottom: 42px;
  transform: rotate(2deg);
}

.app-showcase figcaption {
  max-width: 360px;
  margin: 18px auto 0;
  color: var(--site-muted);
  font-size: 0.92rem;
}

.download-mini {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.mini-label {
  margin-bottom: 4px;
  color: var(--site-emerald) !important;
  font-weight: 900;
}

.qr-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 92px;
  height: 92px;
  padding: 9px;
  border: 1px solid rgba(6, 75, 57, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.qr-placeholder span {
  border-radius: 2px;
  background: rgba(6, 75, 57, 0.16);
}

.qr-placeholder span:nth-child(1),
.qr-placeholder span:nth-child(2),
.qr-placeholder span:nth-child(4),
.qr-placeholder span:nth-child(5),
.qr-placeholder span:nth-child(7),
.qr-placeholder span:nth-child(10),
.qr-placeholder span:nth-child(11),
.qr-placeholder span:nth-child(13),
.qr-placeholder span:nth-child(16) {
  background: var(--site-emerald);
}

.store-buttons {
  margin-top: 2px;
}

.store-button {
  flex: 1 1 140px;
  min-height: 58px;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 16px;
  border-color: rgba(6, 75, 57, 0.18);
  border-radius: 8px;
  color: var(--site-emerald);
  background: rgba(255, 253, 247, 0.88);
}

.store-button span {
  color: var(--site-muted);
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.store-button-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--site-emerald);
}

.store-button-dark span {
  color: rgba(255, 255, 255, 0.74);
}

.testimonial {
  margin: 0;
  padding: 20px;
}

.testimonial p {
  color: var(--site-ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.1rem;
}

.testimonial cite {
  display: block;
  margin-top: 12px;
  color: var(--site-muted);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

.features-section {
  background: var(--site-surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border: 1px solid rgba(29, 149, 136, 0.28);
  border-radius: 8px;
  color: var(--site-emerald);
  background: rgba(29, 149, 136, 0.1);
  font-weight: 950;
}

.feature-card p {
  margin-top: 12px;
}

.journal-section {
  padding: clamp(54px, 7vw, 86px) 0 !important;
  background:
    linear-gradient(90deg, rgba(6, 75, 57, 0.92), rgba(29, 149, 136, 0.74)),
    var(--site-emerald);
}

.journal-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 5vw, 80px);
  align-items: center;
}

.journal-section .section-kicker,
.journal-section h2,
.journal-section p {
  color: #ffffff;
}

.journal-section .section-kicker::before {
  background: var(--site-gold-soft);
}

.download-section {
  background:
    linear-gradient(180deg, rgba(246, 241, 231, 0.96), rgba(255, 253, 247, 0.98)),
    var(--site-page);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(24px, 7vw, 96px);
  align-items: center;
}

.download-copy p:not(.section-kicker) {
  max-width: 600px;
  margin-top: 18px;
  font-size: 1.08rem;
}

.download-copy .store-buttons {
  max-width: 460px;
  margin-top: 28px;
}

.download-qr-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
}

.qr-placeholder-large {
  width: 180px;
  height: 180px;
  gap: 8px;
  padding: 16px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #102820;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr) minmax(220px, 0.8fr);
  gap: 28px;
}

.site-footer .site-brand,
.site-footer a,
.site-footer span {
  color: #ffffff;
}

.site-footer p {
  max-width: 420px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand img {
  box-shadow: none;
}

.footer-links,
.site-footer address {
  display: grid;
  align-content: start;
  gap: 10px;
  font-style: normal;
}

.site-footer address span {
  font-weight: 900;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .hero-inner,
  .showcase-grid,
  .journal-layout,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-grid {
    align-items: stretch;
  }

  .trust-column {
    grid-template-columns: 1fr 1fr;
  }

  .trust-column h3 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-container {
    width: min(100% - 28px, 1180px);
  }

  .site-page section {
    padding: 66px 0;
  }

  .home-hero {
    min-height: 0;
    padding-top: 76px;
  }

  .hero-metrics,
  .feature-grid,
  .trust-column,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .app-frame-body {
    min-height: 560px;
  }

  .app-screen-main {
    width: min(74%, 270px);
  }

  .app-screen-side {
    width: min(42%, 164px);
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 0;
    padding: 12px 16px;
  }

  .site-brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .site-page h1 {
    font-size: clamp(2.6rem, 15vw, 4.25rem);
  }

  .site-page h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-actions,
  .store-buttons {
    flex-direction: column;
  }

  .site-button,
  .store-button {
    width: 100%;
  }

  .download-mini {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .app-frame {
    padding: 12px;
  }

  .app-frame-body {
    min-height: 480px;
  }

  .app-screen-main {
    width: min(82%, 250px);
  }

  .app-screen-side {
    width: min(42%, 134px);
  }

  .app-screen-quran {
    top: 58px;
  }

  .app-screen-dua {
    bottom: 30px;
  }
}

/* Official website v2 */
body.site-page {
  --site-page: #ecf9fb;
  --site-sky: #f5fbfa;
  --site-ink: #0a3f44;
  --site-muted: #5e7478;
  --site-surface: #fffefd;
  --site-surface-strong: #ffffff;
  --site-soft: #e8f7f5;
  --site-line: #cfe5e8;
  --site-teal: #0d9b7a;
  --site-teal-dark: #0a3f44;
  --site-mint: #74d9c1;
  --site-mint-soft: #daf6f0;
  --site-gold: #d5a247;
  --site-gold-soft: #f1deaa;
  --site-shadow: 0 18px 44px rgba(10, 63, 68, 0.12);
  background:
    linear-gradient(180deg, rgba(236, 249, 251, 0.96), rgba(255, 253, 247, 0.96) 56%, #ffffff 100%);
  color: var(--site-ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

body.site-page::before {
  display: none;
}

.site-page a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.site-page a:hover,
.site-page a:focus {
  color: var(--site-teal);
}

.site-page h1,
.site-page h2,
.site-page h3,
.site-page h4,
.site-page p {
  margin: 0;
}

.site-page h1,
.site-page h2,
.site-page h3,
.site-page h4 {
  color: var(--site-ink);
  font-family:
    ui-serif,
    Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0;
}

.site-page h1 {
  max-width: 540px;
  font-size: clamp(2.35rem, 3.5vw, 3.85rem);
  line-height: 1.04;
  overflow-wrap: break-word;
}

.site-page h2 {
  max-width: 680px;
  font-size: clamp(1.9rem, 2.8vw, 2.85rem);
  line-height: 1.08;
}

.site-page h3 {
  font-size: 1.02rem;
  line-height: 1.2;
}

.site-page p {
  color: var(--site-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.site-page section {
  padding: clamp(52px, 6vw, 86px) 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: 96px;
}

.site-page [id] {
  scroll-margin-top: 96px;
}

.site-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 36px);
  background: rgba(255, 254, 253, 0.9);
  border-bottom: 1px solid rgba(207, 229, 232, 0.78);
  backdrop-filter: blur(18px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--site-ink);
  font-weight: 850;
}

.site-brand img {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(13, 155, 122, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.6vw, 22px);
  overflow-x: auto;
  color: #365850;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:first-child {
  color: var(--site-teal);
  border-color: var(--site-gold);
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(207, 229, 232, 0.94);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.92), rgba(218, 246, 240, 0.62)),
    var(--site-surface);
  box-shadow: 0 10px 26px rgba(10, 63, 68, 0.08);
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--site-ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switcher button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--site-teal-dark);
  box-shadow: 0 8px 18px rgba(10, 63, 68, 0.18);
}

.language-switcher button:focus-visible,
.showcase-arrow:focus-visible {
  outline: 3px solid rgba(116, 217, 193, 0.7);
  outline-offset: 2px;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  padding: clamp(14px, 2.2vw, 24px) 0;
  align-items: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(116, 217, 193, 0.28), transparent 32%),
    linear-gradient(135deg, #ecf9fb 0%, #fffaf0 45%, #ffffff 100%);
}

body.site-page .home-hero {
  padding: clamp(6px, 0.8vw, 8px) 0;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 92px 0 auto;
  height: 320px;
  opacity: 0.16;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 100%, transparent 0 42%, rgba(10, 63, 68, 0.22) 43% 44%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, transparent 0 44%, rgba(10, 63, 68, 0.18) 45% 46%, transparent 47%),
    radial-gradient(ellipse at 82% 100%, transparent 0 42%, rgba(10, 63, 68, 0.22) 43% 44%, transparent 45%);
  background-size: 32% 100%, 38% 100%, 32% 100%;
  background-position: left bottom, center bottom, right bottom;
  background-repeat: no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 254, 253, 0.84));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(300px, 360px) minmax(280px, 0.82fr);
  grid-template-areas:
    "copy preview benefits"
    "actions preview benefits";
  gap: clamp(16px, 2vw, 26px);
  align-items: center;
}

.hero-copy {
  grid-area: copy;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--site-teal);
  font-size: 0.74rem;
  font-weight: 850;
}

.section-kicker::before {
  width: 28px;
  background: var(--site-gold);
}

.hero-lede {
  max-width: 500px;
  margin-top: 16px;
  color: #46666a;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.site-page .hero-trust {
  display: inline-flex;
  max-width: 430px;
  margin-top: 16px !important;
  padding: 10px 14px;
  border: 1px solid rgba(13, 155, 122, 0.17);
  border-radius: 18px;
  color: var(--site-ink);
  background: rgba(255, 254, 253, 0.78);
  font-size: 0.88rem;
  font-weight: 750;
  box-shadow: 0 10px 26px rgba(11, 63, 53, 0.07);
}

.hero-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.site-button {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 0.94rem;
}

.site-button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--site-teal), var(--site-mint));
  box-shadow: 0 16px 34px rgba(13, 155, 122, 0.24);
}

.site-button-secondary {
  color: var(--site-teal);
  border-color: rgba(13, 155, 122, 0.22);
  background: rgba(255, 254, 253, 0.88);
}

.hero-preview {
  grid-area: preview;
  margin: 0;
}

.theme-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  justify-items: center;
}

.theme-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(207, 229, 232, 0.92);
  border-radius: 999px;
  background: rgba(255, 254, 253, 0.82);
  box-shadow: 0 12px 28px rgba(10, 63, 68, 0.07);
}

.theme-preview > .theme-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.theme-option {
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 68px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--site-teal);
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
  pointer-events: auto;
}

label[for="preview-light"] {
  grid-column: 1;
}

label[for="preview-dark"] {
  grid-column: 2;
}

#preview-light:checked ~ .theme-switch label[for="preview-light"],
#preview-dark:checked ~ .theme-switch label[for="preview-dark"] {
  color: #ffffff;
  border-color: transparent;
  background: var(--site-teal-dark);
}

.app-preview-card {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-preview-card::before {
  content: none;
}

#preview-dark:checked ~ .app-preview-card {
  background: transparent;
  box-shadow: none;
}

.theme-preview[data-preview-theme="dark"] .app-preview-card {
  background: transparent;
  box-shadow: none;
}

#preview-dark:checked ~ .app-preview-card .preview-screen {
  background: transparent;
  box-shadow: 0 30px 74px rgba(13, 7, 29, 0.34);
}

.theme-preview[data-preview-theme="dark"] .preview-screen {
  background: transparent;
  box-shadow: 0 30px 74px rgba(13, 7, 29, 0.34);
}

.preview-screen {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(300px, min(24.2vw, calc((100svh - 92px) * 591 / 1280)), 344px);
  aspect-ratio: 591 / 1280;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background: transparent;
  box-shadow:
    0 30px 74px rgba(10, 63, 68, 0.22),
    0 0 0 1px rgba(13, 155, 122, 0.12);
}

.preview-slide-set {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.preview-slide-set-light {
  opacity: 1;
}

#preview-dark:checked ~ .app-preview-card .preview-slide-set-light {
  opacity: 0;
}

#preview-dark:checked ~ .app-preview-card .preview-slide-set-dark {
  opacity: 1;
}

.theme-preview[data-preview-theme="dark"] .preview-slide-set-light {
  opacity: 0;
}

.theme-preview[data-preview-theme="dark"] .preview-slide-set-dark {
  opacity: 1;
}

.theme-preview.is-light .preview-slide-set-light {
  opacity: 1;
}

.theme-preview.is-light .preview-slide-set-dark {
  opacity: 0;
}

.theme-preview.is-dark .preview-slide-set-light {
  opacity: 0 !important;
}

.theme-preview.is-dark .preview-slide-set-dark {
  opacity: 1 !important;
}

.preview-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 34px;
  background: transparent;
  object-fit: cover;
  opacity: 0;
  transform: translateX(16px) scale(0.985);
  animation: previewCarousel 9s ease-in-out infinite;
}

.preview-slide:nth-child(1) {
  animation-delay: 0s;
}

.preview-slide:nth-child(2) {
  animation-delay: 3s;
}

.preview-slide:nth-child(3) {
  animation-delay: 6s;
}

@keyframes previewCarousel {
  0%,
  100% {
    opacity: 0;
    transform: translateX(16px) scale(0.985);
  }

  5%,
  30% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  36% {
    opacity: 0;
    transform: translateX(-16px) scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-shot {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .preview-slide:first-child {
    opacity: 1;
  }
}

.hero-benefits {
  grid-area: benefits;
  display: grid;
  gap: 8px;
}

.hero-benefits > h2 {
  color: var(--site-teal);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-list {
  display: grid;
  gap: 8px;
}

.benefit-card,
.compact-download-card,
.feature-card,
.download-qr-card {
  border: 1px solid rgba(207, 229, 232, 0.92);
  border-radius: 18px;
  background: rgba(255, 254, 253, 0.86);
  box-shadow: 0 12px 30px rgba(10, 63, 68, 0.07);
}

.benefit-card {
  position: relative;
  padding: 12px 12px 12px 50px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 155, 122, 0.24);
  box-shadow: 0 16px 34px rgba(10, 63, 68, 0.1);
}

.benefit-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(213, 162, 71, 0.34);
  border-radius: 10px;
  color: var(--site-teal-dark);
  background: rgba(241, 222, 170, 0.62);
  font-size: 0.72rem;
  font-weight: 950;
}

.benefit-card h3 {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 0.98rem;
  font-weight: 850;
}

.benefit-card p {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.38;
}

.compact-download-card {
  display: grid;
  gap: 9px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(218, 246, 240, 0.76), rgba(255, 254, 253, 0.94)),
    var(--site-surface);
}

.compact-download-card h3,
.download-qr-card h3 {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
}

.compact-download-note {
  margin-top: -4px;
  color: var(--site-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compact-store-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.store-button {
  min-height: 48px;
  border-radius: 14px;
  color: var(--site-ink);
  background: rgba(255, 254, 253, 0.92);
  font-size: 0.9rem;
}

.store-button[aria-disabled="true"] {
  cursor: default;
}

.store-button span {
  color: var(--site-muted);
  font-size: 0.66rem;
}

.store-button-dark {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--site-teal-dark), var(--site-teal));
}

.store-button-soft {
  color: var(--site-teal);
  border-color: rgba(13, 155, 122, 0.2);
  background: var(--site-mint-soft);
}

.store-button-dark span {
  color: rgba(255, 255, 255, 0.78);
}

.qr-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
}

.qr-row p {
  font-size: 0.82rem;
  line-height: 1.4;
}

.qr-placeholder {
  width: 64px;
  height: 64px;
  gap: 4px;
  padding: 8px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 254, 253, 0.86), rgba(218, 246, 240, 0.84)),
    var(--site-surface);
}

.download-qr-card .qr-placeholder {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(13, 155, 122, 0.1);
}

.download-qr-card .qr-placeholder::before,
.download-qr-card .qr-placeholder::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--site-teal-dark);
  border-radius: 5px;
  pointer-events: none;
}

.download-qr-card .qr-placeholder::before {
  left: 7px;
  top: 7px;
}

.download-qr-card .qr-placeholder::after {
  right: 7px;
  top: 7px;
}

.download-qr-card .qr-placeholder span:nth-child(15) {
  position: relative;
}

.download-qr-card .qr-placeholder span:nth-child(15)::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--site-teal-dark);
  border-radius: 5px;
}

.social-proof-section {
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.98), rgba(236, 249, 251, 0.64)),
    var(--site-surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.proof-card,
.trust-card,
.faq-item,
.showcase-card {
  border: 1px solid rgba(207, 229, 232, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.96), rgba(255, 254, 253, 0.82)),
    var(--site-surface);
  box-shadow: 0 14px 34px rgba(10, 63, 68, 0.08);
}

.proof-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 188px;
  padding: 20px;
  border-radius: 20px;
}

.proof-icon,
.trust-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--site-teal-dark);
  background:
    linear-gradient(135deg, rgba(218, 246, 240, 0.94), rgba(241, 222, 170, 0.44)),
    var(--site-mint-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.proof-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.proof-card h3,
.trust-card h3,
.faq-item summary {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.proof-card p,
.trust-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.app-showcase-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(236, 249, 251, 0.76), rgba(255, 253, 247, 0.96)),
    var(--site-page);
}

.showcase-shell {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(207, 229, 232, 0.9);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 20%, rgba(116, 217, 193, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(255, 254, 253, 0.94), rgba(218, 246, 240, 0.62)),
    var(--site-surface);
  box-shadow: var(--site-shadow);
}

.showcase-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(16px, 2.2vw, 24px);
}

.showcase-status {
  color: var(--site-teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.showcase-arrows {
  display: inline-flex;
  gap: 10px;
}

.showcase-arrow {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(13, 155, 122, 0.22);
  border-radius: 999px;
  color: var(--site-teal-dark);
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.95), rgba(218, 246, 240, 0.7)),
    var(--site-surface);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(10, 63, 68, 0.08);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.showcase-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.showcase-arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 155, 122, 0.46);
  background: var(--site-mint-soft);
}

.showcase-arrow:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
}

.showcase-viewport {
  position: relative;
}

.showcase-viewport::before,
.showcase-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 14px;
  z-index: 2;
  width: clamp(22px, 5vw, 78px);
  pointer-events: none;
}

.showcase-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 254, 253, 0.96), rgba(255, 254, 253, 0));
}

.showcase-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 254, 253, 0.96), rgba(255, 254, 253, 0));
}

.showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(268px, 27vw, 344px);
  gap: clamp(16px, 2.4vw, 26px);
  padding: 4px clamp(18px, 4vw, 52px) 18px;
  overflow-x: auto;
  direction: ltr;
  scroll-behavior: smooth;
  scroll-padding-inline: clamp(18px, 4vw, 52px);
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.showcase-track:focus-visible {
  outline: 3px solid rgba(116, 217, 193, 0.48);
  outline-offset: 4px;
}

.showcase-track::-webkit-scrollbar {
  height: 10px;
}

.showcase-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(218, 246, 240, 0.78);
}

.showcase-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(13, 155, 122, 0.36);
}

.showcase-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(207, 229, 232, 0.88);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.96), rgba(255, 254, 253, 0.84)),
    var(--site-surface);
  scroll-snap-align: start;
  text-align: start;
  box-shadow: 0 18px 34px rgba(10, 63, 68, 0.1);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 591 / 1280;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(13, 155, 122, 0.18);
  border-radius: 24px;
  background: var(--site-mint-soft);
  box-shadow: 0 18px 32px rgba(10, 63, 68, 0.12);
}

.showcase-card figcaption {
  display: grid;
  gap: 5px;
  padding: 0 4px 4px;
  color: var(--site-ink);
}

.showcase-card figcaption span {
  color: var(--site-teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-card figcaption strong {
  color: var(--site-ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.showcase-stage {
  display: grid;
  grid-template-columns: 48px minmax(260px, 390px) 48px;
  gap: clamp(10px, 1.6vw, 18px);
  align-items: center;
  justify-content: center;
}

.showcase-active-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(13, 155, 122, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.98), rgba(255, 254, 253, 0.86)),
    var(--site-surface);
  box-shadow:
    0 24px 52px rgba(10, 63, 68, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.showcase-active-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 591 / 1280;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(13, 155, 122, 0.24);
  border-radius: 28px;
  background: var(--site-mint-soft);
}

.showcase-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.showcase-copy h3 {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 950;
}

.showcase-copy > p:not(.showcase-status) {
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.55;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.showcase-thumbs button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(207, 229, 232, 0.92);
  border-radius: 16px;
  color: var(--site-ink);
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.96), rgba(255, 254, 253, 0.8)),
    var(--site-surface);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: start;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.showcase-thumbs button:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 155, 122, 0.34);
}

.showcase-thumbs button[aria-pressed="true"] {
  border-color: rgba(13, 155, 122, 0.52);
  background:
    linear-gradient(135deg, rgba(218, 246, 240, 0.95), rgba(241, 222, 170, 0.36)),
    var(--site-mint-soft);
}

.showcase-thumbs span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--site-teal-dark);
  background: var(--site-gold-soft);
  font-size: 0.75rem;
  font-weight: 950;
}

.showcase-thumbs button:focus-visible {
  outline: 3px solid rgba(116, 217, 193, 0.62);
  outline-offset: 2px;
}

.features-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, rgba(236, 249, 251, 0.74)),
    var(--site-surface);
}

.features-section::before {
  content: "";
  position: absolute;
  inset: 34px auto auto 50%;
  width: min(760px, 80vw);
  height: 240px;
  transform: translateX(-50%);
  opacity: 0.13;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(213, 162, 71, 0.42), transparent),
    repeating-linear-gradient(90deg, rgba(10, 63, 68, 0.16) 0 1px, transparent 1px 64px);
}

.section-heading {
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.section-heading p:not(.section-kicker) {
  max-width: 600px;
  font-size: 1rem;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--site-gold), var(--site-mint));
  opacity: 0.72;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 155, 122, 0.24);
  box-shadow: 0 16px 34px rgba(10, 63, 68, 0.11);
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: var(--site-teal);
  background:
    linear-gradient(135deg, rgba(218, 246, 240, 0.94), rgba(241, 222, 170, 0.42)),
    var(--site-mint-soft);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature-card h3 {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.feature-card p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.48;
}

.trust-section {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(236, 249, 251, 0.78)),
    var(--site-page);
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  display: grid;
  gap: 12px;
  min-height: 178px;
  padding: 20px;
  border-radius: 20px;
}

.trust-card span {
  color: var(--site-gold);
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.98), rgba(236, 249, 251, 0.64)),
    var(--site-surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 18px 54px 18px 20px;
  color: var(--site-ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: var(--site-teal-dark);
  background: var(--site-mint-soft);
  font-size: 1.1rem;
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 20px 20px;
  font-size: 0.94rem;
}

.download-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(236, 249, 251, 0.92), rgba(255, 250, 240, 0.96)),
    var(--site-page);
}

.download-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 26px;
  width: 420px;
  height: 420px;
  opacity: 0.12;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 44%, rgba(10, 63, 68, 0.42) 45% 46%, transparent 47%);
}

.future-anchor {
  height: 0;
  scroll-margin-top: 96px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(24px, 6vw, 84px);
  align-items: center;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(207, 229, 232, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.9), rgba(255, 254, 253, 0.76)),
    var(--site-surface);
  box-shadow: var(--site-shadow);
}

.download-copy p:not(.section-kicker) {
  max-width: 580px;
  margin-top: 14px;
  font-size: 1rem;
}

.site-page .availability-note {
  color: var(--site-teal);
  font-weight: 850;
}

.download-copy .store-buttons {
  max-width: 470px;
  margin-top: 24px;
}

.download-qr-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 254, 253, 0.94), rgba(218, 246, 240, 0.54)),
    var(--site-surface);
  text-align: center;
}

.qr-placeholder-large {
  width: 166px;
  height: 166px;
  gap: 7px;
  padding: 14px;
  border-radius: 20px;
}

.site-footer {
  padding: 36px 0;
  color: var(--site-muted);
  background: var(--site-surface);
  border-top: 1px solid rgba(207, 229, 232, 0.92);
}

.footer-layout {
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr) minmax(220px, 0.8fr);
  gap: 28px;
}

.site-footer .site-brand,
.site-footer a,
.site-footer span {
  color: var(--site-ink);
}

.site-footer p {
  color: var(--site-muted);
}

.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer address a {
  color: var(--site-teal);
}

@media (max-width: 1160px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    grid-template-areas:
      "copy preview"
      "actions preview"
      "benefits benefits";
    align-items: center;
  }

  .home-hero {
    align-items: flex-start;
    min-height: 0;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-track {
    grid-auto-columns: clamp(250px, 32vw, 320px);
  }

  .showcase-layout {
    grid-template-columns: minmax(260px, 390px) minmax(280px, 1fr);
    gap: 28px;
  }

  .showcase-stage {
    grid-template-columns: 44px minmax(240px, 350px) 44px;
  }

  .trust-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-download-card {
    grid-template-columns: minmax(160px, 0.6fr) minmax(240px, 1fr) minmax(220px, 0.8fr);
    align-items: center;
  }

  .compact-download-card h3 {
    margin: 0;
  }

  .compact-download-note {
    grid-column: 1;
  }

  .compact-store-buttons {
    grid-column: 2;
  }

  .compact-download-card .qr-row {
    grid-column: 3;
  }
}

@media (max-width: 760px) {
  .site-container {
    width: min(100% - 28px, 1240px);
  }

  .site-page section {
    padding: 56px 0;
    scroll-margin-top: 138px;
  }

  .site-page [id] {
    scroll-margin-top: 138px;
  }

  .home-hero {
    min-height: 0;
    padding: 34px 0 50px;
  }

  body.site-page .home-hero {
    padding: 34px 0 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "preview"
      "actions"
      "benefits";
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: stretch;
  }

  .site-button {
    flex: 1 1 180px;
  }

  .benefit-list,
  .proof-grid,
  .trust-grid,
  .compact-download-card,
  .feature-grid,
  .faq-layout,
  .download-panel,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .showcase-shell {
    padding: 18px 14px;
    border-radius: 24px;
  }

  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .showcase-stage {
    grid-template-columns: 44px minmax(230px, 330px) 44px;
  }

  .showcase-copy {
    text-align: center;
  }

  .showcase-copy > p:not(.showcase-status) {
    margin: 0 auto;
  }

  .showcase-track {
    grid-auto-columns: minmax(254px, 72vw);
    padding-inline: 8px;
    scroll-padding-inline: 8px;
  }

  .compact-download-note,
  .compact-store-buttons,
  .compact-download-card .qr-row {
    grid-column: auto;
  }

  .preview-screen {
    width: min(100%, 318px);
  }

  .feature-grid {
    gap: 12px;
  }

  .proof-card,
  .trust-card {
    min-height: 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px 14px;
  }

  .site-page section {
    scroll-margin-top: 168px;
  }

  .site-page [id] {
    scroll-margin-top: 168px;
  }

  .site-brand {
    min-width: 0;
  }

  .language-switcher {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 4px 14px;
    overflow: visible;
    padding-top: 2px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .site-nav a {
    padding: 5px 0;
  }

  .site-page h1 {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

  .site-page h2 {
    font-size: clamp(1.62rem, 7vw, 2.18rem);
  }

  .hero-trust {
    border-radius: 16px;
  }

  .theme-preview {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theme-switch {
    width: 100%;
  }

  .theme-option {
    min-width: 0;
  }

  .app-preview-card {
    padding: 0;
    border-radius: 0;
  }

  .preview-screen {
    width: min(100%, 316px);
    border-radius: 30px;
  }

  .preview-shot {
    border-radius: 30px;
  }

  .compact-store-buttons,
  .store-buttons {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .showcase-card {
    padding: 10px;
    border-radius: 24px;
  }

  .showcase-card img {
    border-radius: 20px;
  }

  .showcase-stage {
    position: relative;
    display: block;
    width: min(100%, 318px);
    margin: 0 auto;
  }

  .showcase-active-card {
    width: 100%;
    padding: 8px;
    border-radius: 26px;
  }

  .showcase-active-card img {
    border-radius: 21px;
  }

  .showcase-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
  }

  .showcase-arrow:hover {
    transform: translateY(-50%);
  }

  .showcase-arrow-prev {
    left: -10px;
  }

  .showcase-arrow-next {
    right: -10px;
  }

  .showcase-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-thumbs {
    grid-template-columns: 1fr;
  }

  .showcase-thumbs button {
    min-height: 48px;
    padding: 9px 10px;
  }

  .showcase-track {
    grid-auto-columns: calc(100vw - 82px);
    gap: 14px;
    padding-bottom: 14px;
  }

  .store-button,
  .site-button {
    width: 100%;
  }

  .qr-row {
    grid-template-columns: 72px 1fr;
  }

  .download-panel {
    padding: 20px;
    border-radius: 22px;
  }
}

html[dir="rtl"] body.site-page {
  direction: rtl;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .download-panel,
html[dir="rtl"] .footer-layout {
  text-align: right;
}

html[dir="rtl"] .site-nav {
  justify-content: flex-start;
}

html[dir="rtl"] .showcase-track {
  direction: ltr;
}

html[dir="rtl"] .showcase-card,
html[dir="rtl"] .showcase-status {
  direction: rtl;
}

html[dir="rtl"] .faq-item summary {
  padding: 18px 20px 18px 54px;
}

html[dir="rtl"] .faq-item summary::after {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .download-section::before {
  right: auto;
  left: -120px;
}

body.site-page .theme-preview > .theme-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Quran Path web app shell */
body.qp-web-app-page {
  --qp-bg: #eaf8f8;
  --qp-ink: #073f43;
  --qp-muted: #607477;
  --qp-card: #fffefd;
  --qp-card-soft: #eaf8f6;
  --qp-line: #bfe5e6;
  --qp-teal: #0aa88c;
  --qp-mint: #74dfc3;
  --qp-gold: #d5a247;
  --qp-gold-soft: #f3dfaa;
  --qp-night: #10061d;
  --qp-night-card: #241235;
  --qp-purple: #8f67dc;
  --qp-shadow: 0 22px 60px rgba(7, 63, 67, 0.13);
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--qp-ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 223, 195, 0.25), transparent 30%),
    linear-gradient(135deg, #f8fffd 0%, #e9f8f9 46%, #fffaf0 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.qp-web-app-page *,
body.qp-web-app-page *::before,
body.qp-web-app-page *::after {
  box-sizing: border-box;
}

body.qp-web-app-page button,
body.qp-web-app-page input {
  font: inherit;
}

body.qp-web-app-page button {
  cursor: pointer;
}

body.qp-web-app-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.web-app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.web-side-pane {
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(116, 223, 195, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 254, 253, 0.42), rgba(234, 248, 248, 0.8));
}

.web-side-pane::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 46%, rgba(7, 63, 67, 0.5) 47% 48%, transparent 49%),
    radial-gradient(ellipse at 50% 100%, transparent 0 38%, rgba(7, 63, 67, 0.3) 39% 40%, transparent 41%);
  background-size: 44% 32%, 32% 22%;
  background-repeat: repeat-x;
  background-position: 0 72%, 40px 48%;
}

.web-app-shell {
  --app-bg: #e9f9fa;
  --app-ink: var(--qp-ink);
  --app-muted: var(--qp-muted);
  --app-card: var(--qp-card);
  --app-card-soft: #eaf8f6;
  --app-line: var(--qp-line);
  --app-accent: var(--qp-teal);
  --app-accent-strong: #06494d;
  --app-button-text: #052f34;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--app-ink);
  background:
    linear-gradient(180deg, rgba(233, 249, 250, 0.96), rgba(240, 253, 250, 0.98)),
    var(--app-bg);
  border-inline: 1px solid rgba(191, 229, 230, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.web-app-shell[data-theme="dark"] {
  --app-bg: #10061d;
  --app-ink: #f8f4ff;
  --app-muted: #d7cde6;
  --app-card: #241235;
  --app-card-soft: #1b0c2a;
  --app-line: rgba(143, 103, 220, 0.62);
  --app-accent: #78e2b8;
  --app-accent-strong: #7ff0bd;
  --app-button-text: #11071c;
  background:
    radial-gradient(circle at 82% 0%, rgba(143, 103, 220, 0.25), transparent 34%),
    linear-gradient(180deg, #10061d, #140821 62%, #0d0518);
  border-color: rgba(143, 103, 220, 0.5);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex: 0 0 auto;
  min-height: 94px;
  padding: 18px clamp(16px, 2vw, 28px) 14px;
  background: linear-gradient(180deg, rgba(255, 254, 253, 0.62), rgba(255, 254, 253, 0));
}

.web-app-shell[data-theme="dark"] .app-header {
  background: linear-gradient(180deg, rgba(16, 6, 29, 0.94), rgba(16, 6, 29, 0));
}

.app-brand-row,
.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.app-logo {
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(7, 63, 67, 0.14);
}

.app-eyebrow,
.screen-kicker {
  margin: 0;
  color: var(--app-accent);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.app-subtitle {
  margin: 3px 0 0;
  color: var(--app-muted);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 850;
  line-height: 1.25;
}

.app-header h1,
.screen-heading h2,
.web-app-shell h3,
.web-app-shell p {
  margin: 0;
}

.app-header h1,
.screen-heading h2 {
  color: var(--app-ink);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.app-header h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  color: var(--app-accent-strong);
  background: rgba(255, 254, 253, 0.82);
  box-shadow: 0 10px 24px rgba(7, 63, 67, 0.08);
}

.web-app-shell[data-theme="dark"] .app-icon-button {
  color: var(--app-accent);
  background: rgba(36, 18, 53, 0.82);
}

.app-icon-button svg,
.bottom-tab-navigation svg,
.app-search svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px clamp(16px, 2vw, 28px) 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 168, 140, 0.42) transparent;
}

.app-scroll-area::-webkit-scrollbar {
  width: 8px;
}

.app-scroll-area::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(10, 168, 140, 0.32);
}

.web-app-shell .app-screen {
  display: none;
  gap: 18px;
  padding: 0 0 8px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: initial;
}

.web-app-shell .app-screen.is-active {
  display: grid;
}

.screen-heading {
  display: grid;
  gap: 6px;
}

.prayer-card,
.quran-progress-card,
.reader-card,
.featured-adhkar,
.quiz-map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 26px;
  background: var(--app-card);
  box-shadow: var(--qp-shadow);
}

.islamic-scene-card {
  background:
    linear-gradient(90deg, rgba(233, 249, 250, 0.72), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 82% 30%, rgba(245, 220, 151, 0.8), transparent 26%),
    linear-gradient(135deg, #dff5fb, #fff2c8 64%, #f8fbff);
}

.web-app-shell[data-theme="dark"] .islamic-scene-card {
  background:
    linear-gradient(90deg, rgba(16, 6, 29, 0.44), rgba(36, 18, 53, 0.86)),
    radial-gradient(circle at 78% 34%, rgba(143, 103, 220, 0.42), transparent 32%),
    linear-gradient(135deg, #1a0c2a, #35144d 72%, #11071c);
}

.prayer-card {
  display: grid;
  gap: 16px;
  min-height: 316px;
  padding: 22px;
}

.prayer-card::after,
.quran-progress-card::after,
.reader-card::after,
.featured-adhkar::after {
  content: "";
  position: absolute;
  inset: auto -28px -48px auto;
  width: 190px;
  height: 190px;
  opacity: 0.3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 43%, currentColor 44% 45%, transparent 46%);
  color: var(--app-accent);
}

.prayer-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--app-ink);
  font-size: 0.84rem;
  font-weight: 850;
}

.prayer-card-top p:last-child {
  text-align: right;
}

.prayer-time {
  display: grid;
  gap: 2px;
  max-width: 230px;
}

.prayer-time span,
.quran-progress-card p,
.reader-card p,
.featured-adhkar p,
.category-card p,
.profile-card p {
  color: var(--app-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.prayer-time strong {
  color: var(--app-accent-strong);
  font-size: 1.52rem;
  line-height: 1;
}

.prayer-time em {
  color: var(--app-ink);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-style: normal;
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.app-button-grid,
.stats-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-button-grid button,
.primary-app-button,
.quran-progress-card button,
.featured-adhkar button,
.question-card button,
.goal-card button,
.settings-card button,
.settings-card a {
  min-height: 48px;
  border: 1px solid var(--app-accent);
  border-radius: 15px;
  color: var(--app-ink);
  background: rgba(255, 254, 253, 0.88);
  font-weight: 900;
}

.primary-app-button,
.quran-progress-card button,
.featured-adhkar button {
  border: 0;
  color: var(--app-button-text);
  background: var(--app-mint, var(--qp-mint));
}

.web-app-shell[data-theme="dark"] .app-button-grid button,
.web-app-shell[data-theme="dark"] .question-card button,
.web-app-shell[data-theme="dark"] .goal-card button,
.web-app-shell[data-theme="dark"] .settings-card button,
.web-app-shell[data-theme="dark"] .settings-card a {
  color: var(--app-ink);
  background: rgba(16, 6, 29, 0.44);
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.shortcut-grid button {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 96px;
  padding: 10px 6px;
  border: 0;
  color: var(--app-ink);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
}

.shortcut-icon {
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid var(--app-line);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 21%, transparent 22%),
    linear-gradient(135deg, rgba(116, 223, 195, 0.44), rgba(143, 103, 220, 0.28));
  box-shadow: 0 10px 24px rgba(7, 63, 67, 0.08);
}

.shortcut-dua {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 21%, transparent 22%),
    linear-gradient(135deg, rgba(213, 162, 71, 0.36), rgba(116, 223, 195, 0.44));
}

.shortcut-zikr {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 21%, transparent 22%),
    linear-gradient(135deg, rgba(143, 103, 220, 0.42), rgba(116, 223, 195, 0.36));
}

.shortcut-names {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.96) 0 21%, transparent 22%),
    linear-gradient(135deg, rgba(245, 220, 151, 0.9), rgba(116, 223, 195, 0.28));
}

.quran-progress-card,
.reader-card,
.featured-adhkar {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 22px;
}

.quran-progress-card h3,
.reader-card h3,
.featured-adhkar h3,
.category-card h3,
.list-card h3,
.question-card h3,
.profile-card h3 {
  color: var(--app-ink);
  font-size: 1.22rem;
  line-height: 1.15;
}

.mini-pill {
  justify-self: start;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--app-muted);
  background: rgba(255, 254, 253, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.metric-card,
.goal-card,
.list-card,
.category-card,
.question-card,
.profile-card,
.settings-card {
  border: 1px solid var(--app-line);
  border-radius: 22px;
  background: var(--app-card);
  box-shadow: 0 12px 30px rgba(7, 63, 67, 0.07);
}

.metric-card {
  display: grid;
  gap: 6px;
  min-height: 108px;
  padding: 18px;
}

.metric-card-wide,
.category-card-wide {
  grid-column: 1 / -1;
}

.metric-card span,
.goal-card span,
.reader-card span,
.featured-adhkar span,
.question-card span {
  color: var(--app-muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.metric-card strong {
  color: var(--app-ink);
  font-size: 1.6rem;
  line-height: 1;
}

.goal-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.goal-card strong {
  display: block;
  color: var(--app-accent);
  margin-top: 4px;
}

.progress-line {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--app-card-soft);
}

.progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--app-accent);
}

.app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--app-line);
  border-radius: 18px;
  color: var(--app-muted);
  background: var(--app-card);
}

.app-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--app-ink);
  background: transparent;
  font-weight: 800;
}

.category-card {
  display: grid;
  gap: 10px;
  min-height: 188px;
  padding: 18px;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: var(--app-accent-strong);
  background: var(--app-card-soft);
  font-weight: 950;
}

.list-card,
.question-card,
.settings-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.list-card button {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  color: var(--app-ink);
  background: var(--app-card-soft);
  text-align: left;
  font-weight: 900;
}

.list-card button span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 10px;
  border-radius: 999px;
  color: var(--app-accent-strong);
  background: var(--qp-gold-soft);
}

.list-card button em {
  padding-right: 12px;
  color: var(--app-muted);
  font-style: normal;
  font-size: 0.78rem;
}

.adhkar-progress-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: 20px;
  background: var(--app-line);
}

.adhkar-progress-card article {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px 10px;
  background: var(--app-card);
}

.adhkar-progress-card span {
  color: var(--app-muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.adhkar-progress-card strong {
  color: var(--app-ink);
  font-size: 1.2rem;
}

.islamic-night-card {
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 18%, rgba(213, 162, 71, 0.5), transparent 18%),
    radial-gradient(circle at 78% 20%, rgba(116, 223, 195, 0.18), transparent 26%),
    linear-gradient(135deg, #1c0734, #40105d 58%, #160820);
}

.islamic-night-card h3,
.islamic-night-card p,
.islamic-night-card span {
  color: #ffffff;
}

.quiz-map-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  min-height: 260px;
  align-content: end;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(54, 137, 64, 0.88), rgba(87, 153, 55, 0.92)),
    var(--app-card);
}

.quiz-node {
  display: inline-grid;
  place-items: center;
  aspect-ratio: 1;
  border: 4px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #1d4d21;
  background: #f4e3ae;
  font-weight: 950;
}

.quiz-node:nth-child(2) {
  transform: translateY(-34px);
}

.quiz-node:nth-child(3) {
  transform: translateY(-76px);
}

.quiz-node:nth-child(4) {
  transform: translateY(-116px);
}

.quiz-node:nth-child(5) {
  transform: translateY(-156px);
}

.quiz-node.is-done {
  color: #ffffff;
  background: var(--app-accent);
}

.quiz-node.is-locked {
  opacity: 0.72;
}

.question-card button {
  text-align: left;
  padding: 0 14px;
}

.profile-card,
.settings-card {
  padding: 18px;
}

.profile-card img {
  flex: 0 0 auto;
  border-radius: 16px;
}

.settings-card a {
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--app-ink);
  text-decoration: none;
}

.bottom-tab-navigation {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2px;
  flex: 0 0 auto;
  min-height: 82px;
  padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--app-line);
  background: rgba(255, 254, 253, 0.9);
  backdrop-filter: blur(16px);
}

.web-app-shell[data-theme="dark"] .bottom-tab-navigation {
  background: rgba(16, 6, 29, 0.92);
}

.bottom-tab-navigation button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 0;
  border: 0;
  border-radius: 18px;
  color: var(--app-muted);
  background: transparent;
  font-size: clamp(0.62rem, 1.5vw, 0.74rem);
  font-weight: 900;
}

.bottom-tab-navigation button.is-active {
  color: var(--app-accent-strong);
  background: var(--app-card-soft);
}

.bottom-tab-navigation svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1180px) {
  .web-app-layout {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 520px) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body.qp-web-app-page {
    background: var(--qp-bg);
  }

  .web-app-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .web-side-pane {
    display: none;
  }

  .web-app-shell {
    border-inline: 0;
  }

  .app-header {
    min-height: 88px;
    padding: 14px 14px 10px;
  }

  .app-scroll-area {
    padding: 8px 14px 18px;
  }

  .app-header h1,
  .screen-heading h2 {
    font-size: clamp(1.28rem, 7vw, 1.92rem);
  }

  .app-icon-button {
    width: 40px;
    height: 40px;
  }

  .prayer-card {
    min-height: 300px;
    padding: 18px;
  }

  .prayer-time em {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

  .shortcut-grid {
    gap: 6px;
  }

  .shortcut-grid button {
    min-height: 82px;
    font-size: 0.72rem;
  }

  .shortcut-icon {
    width: 52px;
    height: 52px;
  }

  .category-grid,
  .stats-grid {
    gap: 10px;
  }

  .category-card {
    min-height: 164px;
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .app-header {
    gap: 10px;
  }

  .app-brand-row {
    gap: 10px;
  }

  .app-logo {
    width: 42px;
    height: 42px;
  }

  .app-header-actions {
    gap: 6px;
  }

  .app-icon-button {
    width: 38px;
    height: 38px;
  }

  .prayer-card-top {
    flex-direction: column;
    gap: 6px;
  }

  .prayer-card-top p:last-child {
    text-align: left;
  }

  .app-button-grid {
    grid-template-columns: 1fr;
  }

  .shortcut-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card-wide,
  .metric-card-wide {
    grid-column: auto;
  }

  .bottom-tab-navigation {
    min-height: 76px;
    padding-inline: 4px;
  }

  .bottom-tab-navigation svg {
    width: 20px;
    height: 20px;
  }
}
