:root {
  --night: #050b17;
  --night-soft: #0b1830;
  --ink: #fbf7ee;
  --muted: rgba(251, 247, 238, 0.72);
  --soft: rgba(251, 247, 238, 0.5);
  --line: rgba(251, 247, 238, 0.16);
  --gold: #d9ad59;
  --gold-bright: #f2cf87;
  --blue: #95c9ec;
  --danger: #ffaf9f;
  --success: #a8dfb7;
  --max: 1160px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 83% -8%, rgba(41, 103, 164, 0.22), transparent 32rem),
    linear-gradient(180deg, #09162b 0%, var(--night) 42%, #030711 100%);
  color: var(--ink);
  font-family: "Noto Naskh Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  text-align: right;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242, 207, 135, 0.6);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -5rem;
  z-index: 50;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--night);
  padding: 0.65rem 1rem;
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(251, 247, 238, 0.09);
  background: rgba(5, 11, 23, 0.66);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.site-header.solid {
  background: rgba(5, 11, 23, 0.94);
}

.nav {
  display: flex;
  min-height: 76px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.34);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.05rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a,
.footer a,
.text-link {
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover,
.footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-bright);
}

.nav-status {
  color: var(--gold-bright);
  font-size: 0.82rem;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(340px, 0.96fr) minmax(330px, 1.04fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  padding: 8rem max(24px, calc((100vw - var(--max)) / 2)) 5rem;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(to left, rgba(5, 11, 23, 0.98) 0%, rgba(5, 11, 23, 0.88) 38%, rgba(5, 11, 23, 0.36) 71%, rgba(5, 11, 23, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 11, 23, 0.1) 0%, rgba(5, 11, 23, 0.93) 100%),
    url("devotional-background-arabic.jpg") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, var(--night));
  content: "";
}

.hero-copyblock {
  max-width: 610px;
  animation: rise-in 700ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero h1,
.statement-section h2,
.feature-copy h2,
.trust-section h2,
.review-links h2,
.final-cta h2,
.doc-main h1 {
  margin: 0;
  font-family: "Noto Naskh Arabic", "Geeza Pro", Tahoma, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.7rem, 7.4vw, 7.1rem);
}

.hero-copy {
  max-width: 540px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(217, 173, 89, 0.38);
  border-radius: 999px;
  background: rgba(217, 173, 89, 0.12);
  color: var(--ink);
  padding: 0.68rem 0.98rem;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.status-chip::before {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(242, 207, 135, 0.12);
  content: "";
}

.text-link {
  color: var(--muted);
  font-weight: 800;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: 565px;
  place-items: center;
  animation: stage-in 900ms ease 100ms both;
}

.verse-window {
  position: relative;
  width: min(430px, 100%);
  overflow: hidden;
  border: 1px solid rgba(251, 247, 238, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 5%, rgba(217, 173, 89, 0.25), transparent 13rem),
    linear-gradient(150deg, rgba(18, 50, 90, 0.96), rgba(4, 13, 29, 0.98));
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.56);
  padding: 2.3rem 2rem 2rem;
  transform: rotate(-3deg);
}

.verse-window::before {
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(251, 247, 238, 0.12);
  border-radius: 25px;
  content: "";
  pointer-events: none;
}

.preview-topline,
.preview-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.preview-sun {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 173, 89, 0.18);
}

.preview-sun::before {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 20px rgba(242, 207, 135, 0.8);
  content: "";
  animation: glow 3.2s ease-in-out infinite;
}

.preview-label {
  position: relative;
  z-index: 1;
  margin: 4.4rem 0 0.75rem;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-copy {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.preview-reference {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-rule {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 2.8rem 0 1.15rem;
  background: linear-gradient(to left, rgba(217, 173, 89, 0.75), transparent);
}

.preview-footer {
  color: rgba(251, 247, 238, 0.64);
}

main {
  position: relative;
  z-index: 2;
}

.statement-section,
.feature-rhythm,
.trust-section,
.review-links,
.final-cta,
.doc-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.statement-section {
  padding: 6rem 0 5rem;
  border-top: 1px solid var(--line);
}

.statement-section h2 {
  max-width: 850px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.statement-section p:not(.section-kicker) {
  max-width: 700px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.feature-rhythm {
  display: grid;
  gap: 0;
  padding: 0 0 6rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(250px, 0.86fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.feature-row.reverse {
  grid-template-columns: minmax(250px, 0.86fr) minmax(280px, 1fr);
}

.feature-copy h2,
.trust-section h2,
.review-links h2,
.final-cta h2 {
  max-width: 760px;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
}

.feature-copy p:not(.section-kicker),
.trust-list p,
.review-links small,
.doc-main .lede,
.doc-section p,
.doc-section li {
  color: var(--muted);
}

.feature-copy p:not(.section-kicker) {
  max-width: 560px;
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.feature-detail {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  border-top: 1px solid rgba(217, 173, 89, 0.58);
  border-bottom: 1px solid rgba(217, 173, 89, 0.3);
  background: linear-gradient(135deg, rgba(19, 52, 90, 0.6), rgba(6, 13, 28, 0.2));
  padding: 2rem;
}

.feature-detail::before {
  position: absolute;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(217, 173, 89, 0.35);
  border-radius: 50%;
  inset: -5rem -4rem auto auto;
  content: "";
  animation: drift 9s ease-in-out infinite;
}

.feature-detail p {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  margin: 0;
  color: var(--ink);
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1.45;
}

.feature-detail span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 1.25rem;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  display: block;
  padding: 0.93rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.feature-list span:last-child {
  border-bottom: 0;
}

.feature-list span::before {
  display: inline-block;
  margin-inline-end: 0.7rem;
  color: var(--gold-bright);
  content: "—";
}

.reminder-orbit {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 173, 89, 0.16), rgba(10, 30, 56, 0.16) 42%, transparent 70%);
}

.reminder-orbit::before,
.reminder-orbit::after {
  position: absolute;
  border: 1px solid rgba(149, 201, 236, 0.3);
  border-radius: 50%;
  content: "";
}

.reminder-orbit::before {
  width: 72%;
  height: 72%;
  animation: orbit 12s linear infinite;
}

.reminder-orbit::after {
  width: 42%;
  height: 42%;
}

.reminder-orbit span {
  position: relative;
  z-index: 1;
  color: var(--gold-bright);
  font-size: 1.12rem;
  font-weight: 800;
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.86fr) minmax(320px, 1.14fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  display: grid;
  gap: 1.25rem;
}

.trust-list p {
  margin: 0;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.04rem;
}

.trust-list strong {
  color: var(--ink);
}

.review-links {
  padding: 6rem 0;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-links a {
  min-height: 145px;
  padding: 1.35rem;
  border-inline-start: 1px solid var(--line);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.legal-links a:first-child {
  border-inline-start: 0;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  background: rgba(217, 173, 89, 0.1);
}

.legal-links span {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.legal-links small {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.final-cta {
  min-height: 48svh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 6rem 0;
}

.final-cta .status-chip {
  margin-top: 1.8rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: #030711;
  color: var(--muted);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer strong {
  color: var(--ink);
}

.footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 1rem;
}

.footer a {
  color: var(--muted);
  font-weight: 800;
}

.legal-copy {
  max-width: 640px;
  color: var(--soft);
  font-size: 0.86rem;
}

.doc-main {
  max-width: 900px;
  padding: 9.5rem 0 5.5rem;
}

.doc-main h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.doc-main .lede {
  margin: 1.1rem 0 3rem;
  font-size: 1.14rem;
}

.doc-section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.doc-section h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.45;
}

.doc-section p,
.doc-section ul {
  margin: 0.82rem 0 0;
}

.doc-section ul {
  padding-inline-start: 1.35rem;
}

.doc-section a {
  color: var(--gold-bright);
  font-weight: 800;
}

.support-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  padding: 0.86rem 0.95rem;
  text-align: right;
}

input[dir="ltr"] {
  text-align: left;
}

textarea {
  min-height: 155px;
  resize: vertical;
}

select {
  color-scheme: dark;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(242, 207, 135, 0.76);
}

.button,
button.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #161005;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 1.3rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--gold-bright);
  transform: translateY(-1px);
}

.button.secondary.dark {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.not-found-main {
  min-height: 62vh;
}

.hide-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.response-box {
  margin-top: 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.success {
  color: var(--success);
}

.error {
  color: var(--danger);
}

.product-id,
.ltr {
  direction: ltr;
  unicode-bidi: plaintext;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.13);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-1.1rem, 1.1rem, 0);
  }
}

@keyframes orbit {
  to {
    transform: rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 7rem;
  }

  .hero-stage {
    min-height: 460px;
  }

  .feature-row,
  .feature-row.reverse,
  .trust-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .legal-links a:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .legal-links a:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
  }

  .nav {
    width: min(var(--max), calc(100% - 28px));
    min-height: 72px;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .brand {
    flex: 0 1 10.2rem;
    font-size: 0.93rem;
  }

  .brand img {
    width: 35px;
    height: 35px;
  }

  .nav-links {
    flex: 1 1 auto;
    gap: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }

  .nav-status {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 20px 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.35rem);
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-stage {
    min-height: 420px;
  }

  .verse-window {
    width: min(380px, 95%);
    padding: 1.8rem 1.5rem 1.5rem;
    transform: rotate(-2deg);
  }

  .preview-label {
    margin-top: 3.2rem;
  }

  .statement-section,
  .feature-rhythm,
  .trust-section,
  .review-links,
  .final-cta,
  .doc-main,
  .footer-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .statement-section,
  .trust-section,
  .review-links,
  .final-cta {
    padding: 4.5rem 0;
  }

  .feature-row {
    padding: 3.6rem 0;
  }

  .legal-links,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .legal-links a,
  .legal-links a:nth-child(3),
  .legal-links a:nth-child(4) {
    min-height: 0;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .legal-links a:first-child {
    border-top: 0;
  }

  .doc-main {
    padding-top: 8rem;
  }

  .doc-section h2 {
    font-size: 1.28rem;
  }
}
