:root {
  --green: #1f8a5b;
  --green-d: #176b47;
  --green-soft: #e9f4ef;
  --red: #e5484d;
  --ink: #14181b;
  --ink-2: #5b6570;
  --ink-3: #8a939c;
  --bg: #ffffff;
  --panel: #f6f8f7;
  --stroke: #e6eae8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-3); font-size: 13px; }

.logo {
  width: 30px; height: 30px; border-radius: 9px; display: inline-block; flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 40%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 50% 78%, var(--green) 0 9px, transparent 10px),
    var(--green);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--stroke); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-admin { padding: 7px 14px; border: 1px solid var(--stroke); border-radius: 8px; color: var(--ink); }

/* hero */
.hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--green-soft), #fff 70%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--green-d); background: #fff; border: 1px solid var(--stroke); padding: 6px 12px; border-radius: 20px; }
.pill .dot, .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
h1 { font-size: 48px; line-height: 1.06; letter-spacing: -0.03em; margin: 18px 0 14px; font-weight: 850; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 30em; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .05s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--stroke); }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* hero phone art */
.hero-art { display: flex; justify-content: center; }
.phone { width: 236px; height: 470px; border-radius: 34px; background: #101413; padding: 12px; }
.phone-screen { width: 100%; height: 100%; border-radius: 24px; background: linear-gradient(180deg, #1f8a5b, #14181b); display: flex; flex-direction: column; align-items: center; padding-top: 40px; position: relative; overflow: hidden; }
.live-tag { position: absolute; top: 18px; display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 20px; letter-spacing: .5px; }
.live-tag .dot { background: #fff; }
.mosque { width: 120px; height: 120px; margin-top: 26px; border-radius: 50%; border: 3px solid rgba(255,255,255,.9); background:
  radial-gradient(circle at 50% 32%, #fff 0 6px, transparent 7px),
  radial-gradient(circle at 50% 66%, rgba(255,255,255,.92) 0 26px, transparent 27px); }
.wave { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 28px; }
.wave span { width: 5px; background: rgba(255,255,255,.9); border-radius: 3px; animation: bounce 1s infinite ease-in-out; }
.wave span:nth-child(odd) { height: 16px; animation-delay: .1s; }
.wave span:nth-child(even) { height: 30px; animation-delay: .25s; }
.wave span:nth-child(3n) { height: 22px; animation-delay: .4s; }
@keyframes bounce { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.pn-title { color: #fff; font-weight: 800; margin-top: 26px; font-size: 17px; }
.pn-sub { color: rgba(255,255,255,.8); font-size: 12px; }

/* sections */
.section { padding: 64px 0; }
.section-title { font-size: 30px; letter-spacing: -0.02em; font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--ink-2); margin-top: 8px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.feature { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 22px; }
.feature .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--green-soft); color: var(--green-d); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature .ic svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--ink-2); }

/* download */
.download { background: var(--panel); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.app-card { background: #fff; border: 1px solid var(--stroke); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.app-card .top { display: flex; align-items: center; gap: 14px; }
.app-icon { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; background:
  radial-gradient(circle at 50% 38%, #fff 0 8px, transparent 9px),
  radial-gradient(circle at 50% 74%, rgba(255,255,255,.92) 0 15px, transparent 16px),
  var(--green); }
.app-card h3 { font-size: 19px; font-weight: 800; }
.app-card .tag { color: var(--ink-2); font-size: 13.5px; }
.app-meta { display: flex; gap: 8px; margin: 18px 0; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--panel); border: 1px solid var(--stroke); padding: 5px 10px; border-radius: 8px; }
.app-card .btn { justify-content: center; margin-top: auto; }
.badge-soon { color: var(--ink-3); font-size: 13px; font-weight: 600; text-align: center; padding: 12px; border: 1px dashed var(--stroke); border-radius: 12px; margin-top: auto; }

/* footer */
.footer { padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .apps { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-admin) { display: none; }
}
