/*
kaaliii
Developer & Designer: Khader Irshaidat
Publisher: Khader Sound Technologies
Record Label: Khader Sound Technologies
*/

:root {
  --bg: #061915;
  --bg-soft: #0a2821;
  --bg-deep: #04110f;
  --text: #f7f5ed;
  --muted: #b8c7c1;
  --gold: #d8b35d;
  --gold-light: #f2d88e;
  --green: #1aa77a;
  --light: #f2eee4;
  --dark-text: #13231f;
  --line: rgba(255,255,255,.12);
  --shadow: 0 30px 90px rgba(0,0,0,.35);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a {
  color: inherit;
  text-decoration: none;
}

img, svg { max-width: 100%; }

button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 36px), 1180px);
  margin-inline: auto;
}

.narrow { max-width: 820px; }

.centered {
  margin-inline: auto;
  text-align: center;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  color: #111;
  background: var(--gold-light);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(6,25,21,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(4,17,15,.92);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -.045em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,179,93,.55);
  border-radius: 12px;
  color: var(--gold-light);
  background: linear-gradient(145deg,#123d33,#071d18);
  font-family: Georgia, serif;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: #fff; }

.nav-status {
  padding: 9px 15px;
  border: 1px solid rgba(216,179,93,.42);
  border-radius: 999px;
  color: var(--gold-light) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  color: white;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 72px 0 105px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
}

.glow-one {
  width: 520px;
  height: 520px;
  right: -180px;
  top: 60px;
  background: rgba(26,167,122,.22);
}

.glow-two {
  width: 340px;
  height: 340px;
  left: -130px;
  bottom: 0;
  background: rgba(216,179,93,.12);
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  font-size: clamp(48px,7vw,86px);
  line-height: .99;
  letter-spacing: -.065em;
}

h2 {
  margin: 0;
  font-size: clamp(34px,5vw,58px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-dark { color: #80601e; }

.lead {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(19px,2vw,23px);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #14251f;
  background: linear-gradient(135deg,var(--gold-light),var(--gold));
  box-shadow: 0 12px 35px rgba(216,179,93,.18);
}

.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.trust-row {
  margin-top: 26px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
}

.phone-stage { display: grid; place-items: center; }

.phone {
  width: min(360px,88vw);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 52px;
  background: #020807;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.phone-speaker {
  width: 90px;
  height: 9px;
  margin: 8px auto 12px;
  border-radius: 99px;
  background: #151c1a;
}

.phone-screen {
  min-height: 625px;
  padding: 22px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 80% 5%,rgba(216,179,93,.13),transparent 28%),
    linear-gradient(180deg,#0c332a,#071c18);
}

.app-header, .row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,179,93,.5);
  border-radius: 10px;
  color: var(--gold-light);
}

.next-prayer {
  padding: 50px 0 28px;
  text-align: center;
}

.next-prayer small, .next-prayer span {
  display: block;
  color: var(--muted);
}

.next-prayer strong {
  display: block;
  font-size: 39px;
  letter-spacing: -.04em;
}

.app-card {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 21px;
  background: rgba(255,255,255,.06);
}

.app-card small, .app-card span { color: var(--muted); }

.app-card strong {
  display: block;
  font-size: 18px;
}

.progress {
  height: 7px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.1);
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg,var(--green),var(--gold));
}

.app-start {
  width: 100%;
  min-height: 56px;
  margin-top: 24px;
  border: 0;
  border-radius: 18px;
  color: #14251f;
  background: linear-gradient(135deg,var(--gold-light),var(--gold));
  font-weight: 900;
}

.offline-ready {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.offline-ready i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}

.section { padding: 110px 0; }

.section-light {
  color: var(--dark-text);
  background: var(--light);
}

.section-deep { background: var(--bg-soft); }

.section-heading { margin-bottom: 45px; }

.section-lead {
  color: var(--muted);
  font-size: 20px;
}

.dark-copy { color: #5e6c67; }

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

.feature-card, .detail-card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
}

.feature-icon, .detail-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--gold-light);
  background: rgba(216,179,93,.12);
  font-size: 22px;
}

.feature-card h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.feature-card p, .detail-card p { color: var(--muted); }

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.detail-card h2 {
  margin-top: 28px;
  font-size: 31px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.steps b { color: var(--gold-light); }
.steps h3, .steps p { margin: 0; }
.steps p { color: var(--muted); }

.ramadan-highlight { min-height: 450px; }

.moon-graphic {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 170px;
  filter: drop-shadow(0 18px 35px rgba(216,179,93,.28));
}

.text-link {
  color: #72571d;
  font-weight: 850;
}

.development-card {
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border: 1px solid rgba(216,179,93,.25);
  border-radius: 32px;
  background: linear-gradient(135deg,#113b32,#0a241f);
}

.development-card p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.page-hero {
  padding: 125px 0 90px;
  background:
    radial-gradient(circle at 80% 15%,rgba(26,167,122,.15),transparent 30%);
}

.page-hero-compact { padding-bottom: 55px; }

.article-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: start;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin: 44px 0 12px;
  font-size: 31px;
  letter-spacing: -.04em;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  color: var(--muted);
  font-size: 17px;
}

.quote-card {
  position: sticky;
  top: 110px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--dark-text);
  background: var(--light);
}

.quote-card > b {
  color: var(--gold);
  font-size: 70px;
  line-height: .7;
}

.quote-card h2 { font-size: 37px; }
.quote-card p { color: #5d6e68; }

.plan-card {
  overflow: hidden;
  border: 1px solid rgba(19,35,31,.13);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 25px 60px rgba(19,35,31,.08);
}

.plan-card div {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(19,35,31,.1);
}

.plan-card .plan-total {
  color: #fff;
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}

.contact-card-light {
  color: var(--dark-text);
  background: var(--light);
}

.contact-card-light p { color: #5d6e68; }

.contact-card dl div {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-card dd {
  margin: 0;
  font-weight: 800;
}

.notice {
  padding: 16px;
  border: 1px solid rgba(216,179,93,.25);
  border-radius: 15px;
  background: rgba(216,179,93,.1);
  font-size: 14px !important;
}

.legal-section { padding-top: 55px; }

.site-footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 70px;
}

.footer-intro {
  max-width: 520px;
  color: var(--muted);
}

.footer-credit { color: #82988f; }

.footer-grid h2 {
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-grid section > a:not(.brand) {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #789087;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-one { transition-delay: .08s; }
.delay-two { transition-delay: .16s; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 78px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #0a241f;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .hero-grid, .split, .article-layout, .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .phone { transform: none; }
  .quote-card { position: static; }

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

  .footer-grid section:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px),1180px); }
  h1 { font-size: 46px; }
  .hero { min-height: auto; }
  .section { padding: 78px 0; }

  .feature-grid, .feature-detail-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid section:first-child { grid-column: auto; }

  .development-card {
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .contact-card dl div {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
