:root {
    --green: #1d6b4f;
    --green-deep: #144d39;
    --green-soft: #e8f2ec;
    --gold: #c89b3c;
    --ink: #0f1b16;
    --muted: #5a6a62;
    --bg: #ffffff;
    --bg-alt: #f7f9f7;
    --border: #e3e8e4;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(15, 27, 22, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 27, 22, 0.06);
    --shadow-lg: 0 24px 48px rgba(15, 27, 22, 0.08);
    --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--green-soft);
    color: var(--green);
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    color: var(--muted);
}

.nav-links a:hover { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-lg {
    height: 52px;
    padding: 0 26px;
    font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
    padding: 80px 0 60px;
    background:
        radial-gradient(60% 60% at 80% 0%, rgba(29, 107, 79, 0.08), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(200, 155, 60, 0.10), transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--green);
    font-size: 18px;
    font-weight: 500;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}

.lede {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 540px;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 480px;
}

.stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.stat strong {
    display: block;
    font-size: 22px;
    color: var(--green);
    line-height: 1.1;
}

.stat span {
    font-size: 12px;
    color: var(--muted);
}

/* ---------- Phone mock ---------- */
.hero-art {
    display: flex;
    justify-content: center;
}

.phone {
    width: 300px;
    height: 600px;
    background: #0f1b16;
    border-radius: 44px;
    padding: 14px;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.06);
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: #0a120e;
    border-radius: 14px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f3f7f4 0%, #e8f0eb 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    padding: 56px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
}

.screen-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
}

.screen-pill {
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 3px 8px;
    letter-spacing: 0.04em;
}

.map {
    flex: 1;
    background: linear-gradient(180deg, #eef3ef 0%, #dde7e0 100%);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.road {
    position: absolute;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

.road-h { left: 5%; right: 5%; height: 6px; border-radius: 4px; }
.road-v { top: 10%; bottom: 10%; width: 6px; border-radius: 4px; }

.pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.pin-you {
    background: #1d72d8;
    box-shadow: 0 0 0 3px #fff, 0 0 0 10px rgba(29, 114, 216, 0.18);
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(29, 114, 216, 0.35); }
    100% { box-shadow: 0 0 0 3px #fff, 0 0 0 18px rgba(29, 114, 216, 0); }
}

.pin-mosque {
    width: 16px;
    height: 20px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: var(--green);
    box-shadow: 0 4px 10px rgba(29, 107, 79, 0.4);
}

.pin-mosque::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.screen-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 4px 14px rgba(15, 27, 22, 0.08);
}

.card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-body { flex: 1; }
.card-title { font-size: 13px; font-weight: 700; }
.card-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.card-badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--green);
    border-radius: 999px;
    padding: 4px 8px;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.kicker {
    display: inline-block;
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.section-sub {
    color: var(--muted);
    font-size: 17px;
    margin: 0;
}

/* ---------- Features ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(29, 107, 79, 0.25);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--green-soft);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.feature-highlight {
    background: linear-gradient(180deg, #f3faf6 0%, #ffffff 100%);
    border-color: rgba(29, 107, 79, 0.25);
}

.badge-unique {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--gold);
    border-radius: 999px;
    padding: 4px 8px;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: step;
}

.steps li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Promises ---------- */
.promises {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.promise {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.promise h4 { margin: 0 0 4px; font-size: 16px; }
.promise p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- CTA ---------- */
.section-cta {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    color: #fff;
    text-align: center;
}

.cta-wrap h2 { color: #fff; }
.cta-wrap p { color: rgba(255,255,255,0.85); margin: 0 0 26px; font-size: 17px; }

.section-cta .btn-primary {
    background: #fff;
    color: var(--green);
}
.section-cta .btn-primary:hover {
    background: var(--gold);
    color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0f1b16;
    color: #c8d4cd;
    padding: 56px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 32px;
}

.logo-footer { color: #fff; }
.logo-footer .logo-mark { background: rgba(255,255,255,0.08); color: #fff; }

.footer-tag {
    margin: 10px 0 0;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
}

.footer-col h5 {
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 14px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    padding: 4px 0;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 22px;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
}

/* ---------- Legal/Support page ---------- */
.page {
    padding: 64px 0 96px;
}

.page-head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.page-head h1 {
    font-size: clamp(32px, 4vw, 44px);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.page-head .updated {
    color: var(--muted);
    font-size: 14px;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    box-shadow: var(--shadow-sm);
    font-size: 16px;
    color: #21302a;
}

.prose h2 {
    font-size: 22px;
    margin: 32px 0 10px;
    letter-spacing: -0.01em;
}

.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--green); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Device frame ---------- */
.device {
    width: 300px;
    border-radius: 46px;
    background: #0f1b16;
    padding: 11px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.device::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 24px;
    background: #0a120e;
    border-radius: 13px;
    z-index: 2;
}

.device img {
    width: 100%;
    height: auto;
    border-radius: 36px;
    display: block;
}

/* ---------- Alternating feature showcase ---------- */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
}

.showcase-row + .showcase-row { border-top: 1px solid var(--border); }

.showcase-media {
    display: flex;
    justify-content: center;
    position: relative;
}

.showcase-media::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 107, 79, 0.14), transparent 68%);
    z-index: 0;
}

.showcase-row.reverse .showcase-media { order: 2; }

.showcase-copy .kicker { margin-bottom: 12px; }

.showcase-copy h3 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.showcase-copy > p {
    color: var(--muted);
    font-size: 17px;
    margin: 0 0 20px;
    max-width: 460px;
}

.showcase-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 15px;
    color: var(--ink);
}

.showcase-list li::before {
    content: "";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6b4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; }
    .phone { width: 260px; height: 520px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .promises { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .showcase-row { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 48px 0; }
    .showcase-row.reverse .showcase-media { order: -1; }
    .showcase-media { order: -1; }
    .showcase-copy > p { margin-left: auto; margin-right: auto; }
    .showcase-list { display: inline-grid; text-align: left; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .section { padding: 64px 0; }
    .hero { padding: 56px 0 40px; }
    .features { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .stat { padding: 10px 12px; }
    .stat strong { font-size: 18px; }
    .prose { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .device { width: 260px; }
}
