/* Mawaqit Adhan — page styles on top of the shared sakina.css */

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center; gap: clamp(32px, 6vw, 72px);
  padding-top: clamp(24px, 5vw, 56px);
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__badge { min-height: 32px; padding-inline: 14px; font-size: 13px; }
.hero__title { font-size: clamp(44px, 6.2vw, 80px); max-width: 14ch; }
.hero__lede { margin: 0; max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 13.5px; color: var(--text-3); }
.checksum { min-height: 32px; font-family: var(--font-mono); font-size: 12px; }

/* Showcase: dusk arch behind a sample tray window */
.showcase { position: relative; min-height: 600px; }
.showcase__sky {
  position: absolute; inset: 0 0 40px 40px; overflow: hidden;
  background: linear-gradient(180deg, #1C2552 0%, #4B3F7E 40%, #B8617A 74%, #F0A073 100%);
}
.showcase__sky > i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #FFF6DC; }
.showcase__frame { position: absolute; inset: 16px; border: 1px solid rgba(255, 255, 255, .26); }
.showcase__city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 440 / 120; }

.tray {
  position: absolute; left: 0; top: 70px; width: min(400px, 88%);
  padding: 20px; border-radius: 26px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.tray__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tray__masjid { display: flex; align-items: center; gap: 10px; }
.tray__masjid > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.tray__masjid strong { font-size: 15px; }
.tray__masjid small { font-size: 12.5px; color: var(--text-3); }
.tray__next { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 18px; background: var(--accent-soft); }
.tray__next > span { display: flex; flex-direction: column; gap: 2px; }
.tray__next small { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tray__next b.sk-display { font-size: 38px; line-height: 1; font-weight: 400; }
.tray__when { align-items: flex-end; }
.tray__when b { font-size: 24px; font-variant-numeric: tabular-nums; }
.tray__when small { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--text-2); }
.tray__list { list-style: none; margin: 0; padding: 0; }
.tray__list li { display: grid; grid-template-columns: minmax(0, 1fr) 56px 76px 40px; align-items: center; gap: 8px; padding: 9px 4px; border-top: 1px solid var(--line); font-size: 14.5px; }
.tray__list li span:nth-child(2) { font-variant-numeric: tabular-nums; font-weight: 600; }
.tray__list li small { font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tray__list li.is-next { color: var(--accent); font-weight: 700; }
.switch { position: relative; width: 40px; height: 24px; border-radius: 999px; border: 0; background: var(--line-2); transition: background-color .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--spring); }
.switch.is-on { background: var(--accent); }
.switch.is-on::after { transform: translateX(16px); }

.toast-card {
  position: absolute; right: 0; bottom: 0; width: min(330px, 80%);
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.toast-card > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.toast-card strong { font-size: 14.5px; }
.toast-card small { font-size: 12.5px; color: var(--text-3); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; color: var(--accent); }
.bars i { width: 3px; height: 16px; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; animation: bar .9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: .15s; } .bars i:nth-child(3) { animation-delay: .3s; } .bars i:nth-child(4) { animation-delay: .45s; }
@keyframes bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* Features & requirements */
.section-title { font-size: clamp(38px, 4.6vw, 56px); margin: 10px 0 0; }
.section-title em { color: var(--accent); }
.features { padding-top: clamp(80px, 10vw, 120px); }
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.feature { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.feature h3 { font-size: 19px; }
.feature p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-2); }
.feature:nth-child(2) { transition-delay: .05s; } .feature:nth-child(3) { transition-delay: .1s; }
.feature:nth-child(5) { transition-delay: .05s; } .feature:nth-child(6) { transition-delay: .1s; }

#requirements { padding-top: clamp(64px, 8vw, 96px); }
.requirements { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px 56px; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px); border-radius: var(--r-xl); }
.requirements__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.requirements__list li { position: relative; padding-inline-start: 34px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.requirements__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 20px; height: 20px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M11 0L7.78 3.22L7.78 7.78L3.22 7.78L0 11L-3.22 7.78L-7.78 7.78L-7.78 3.22L-11 0L-7.78 -3.22L-7.78 -7.78L-3.22 -7.78L0 -11L3.22 -7.78L7.78 -7.78L7.78 -3.22Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-12 -12 24 24'%3E%3Cpath d='M11 0L7.78 3.22L7.78 7.78L3.22 7.78L0 11L-3.22 7.78L-7.78 7.78L-7.78 3.22L-11 0L-7.78 -3.22L-7.78 -7.78L-3.22 -7.78L0 -11L3.22 -7.78L7.78 -7.78L7.78 -3.22Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .showcase { width: min(520px, 100%); justify-self: center; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .requirements { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .showcase { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
  .showcase__sky { display: none; }
  .tray, .toast-card { position: relative; inset: auto; width: 100%; }
  .toast-card { animation: none; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
  .hero__actions .sk-btn { flex: 1 1 auto; }
  .tray__list li { grid-template-columns: minmax(0, 1fr) 52px 70px 40px; font-size: 14px; }
}
