:root {
    --ink-900: #0A0A0F;
    --ink-700: #1C1C28;
    --ink-500: #4B4B63;
    --ink-300: #8E8EA8;
    --ink-100: #E8E8F0;
    --ink-050: #F4F4F8;
    --white: #FFFFFF;
    --violet: #00684F;
    --violet-lt: #E6F2EE;
    --amber: #D97A28;
    --amber-lt: #FDF1E7;
    --sage: #1B7B4B;
    --sage-lt: #EAF4EF;
    --s1: 0 1px 3px rgba(10, 10, 15, .06);
    --s2: 0 3px 12px rgba(10, 10, 15, .08);
    --max: 680px;
    --r-s: 10px;
    --r-m: 16px;
    --r-l: 20px;
    --r-xl: 26px
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--ink-050);
    color: var(--ink-700);
    -webkit-font-smoothing: antialiased;
    font-size: 15px
}

body {
    min-height: 100dvh;
    padding-bottom: 96px
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none
}

.ns::-webkit-scrollbar {
    display: none
}

.ns {
    -ms-overflow-style: none;
    scrollbar-width: none
}

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

.ap {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1)
}

.ap.in {
    opacity: 1;
    transform: none
}

@media(prefers-reduced-motion:reduce) {
    .ap {
        transition: none
    }
}

.ico {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 252, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ink-100)
}

.tb {
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px
}

.brand-mark {
    width: 32px;
    height: 32px;
    background: var(--violet);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: -.25px
}

.brand-name em {
    font-style: normal;
    color: var(--violet)
}

.tb-r {
    display: flex;
    align-items: center;
    gap: 8px
}

.streak-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--amber-lt);
    color: var(--amber);
    border: 1px solid rgba(217, 122, 40, .15);
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 12px;
    font-weight: 600
}

.avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: var(--ink-700);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: background .15s, transform .15s
}

.avatar:hover {
    background: var(--violet);
    transform: scale(1.05)
}

main {
    padding-top: 22px
}

section {
    margin-bottom: 26px
}

.cc {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-l);
    padding: 18px;
    box-shadow: var(--s1)
}

.cc-eye {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--ink-300);
    margin-bottom: 12px
}

.sh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.sh-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-900)
}

.sh-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--violet);
    display: flex;
    align-items: center;
    gap: 2px
}

.sh-link:hover {
    opacity: .7
}

/* HERO WAKAF */
.wh {
    background: var(--ink-900);
    border-radius: var(--r-xl);
    padding: 22px;
    position: relative;
    overflow: hidden
}

.wh::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(27, 123, 75, .28), transparent 70%);
    pointer-events: none
}

.wh::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 104, 79, .2), transparent 70%);
    pointer-events: none
}

.wh-eye {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    margin-bottom: 8px;
    position: relative;
    z-index: 1
}

.wh-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: -.3px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    line-height: 1.3
}

.wh-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .42);
    line-height: 1.55;
    margin-bottom: 18px;
    position: relative;
    z-index: 1
}

.wh-prog-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 6px;
    position: relative;
    z-index: 1
}

.wh-pct {
    color: #34C76B;
    font-weight: 600
}

.wh-tgt {
    color: rgba(255, 255, 255, .3)
}

.wh-track {
    height: 5px;
    background: rgba(255, 255, 255, .1);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}

.wh-fill {
    height: 100%;
    background: linear-gradient(90deg, #1B7B4B, #34C76B);
    border-radius: 99px;
    width: 0;
    transition: width 1.4s cubic-bezier(.22, 1, .36, 1)
}

.wh-foot {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1
}

.wh-btn-p {
    flex: 1;
    padding: 11px;
    background: white;
    color: var(--ink-900);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--r-s);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    border: none;
    transition: opacity .18s, transform .15s
}

.wh-btn-p:hover {
    opacity: .9;
    transform: translateY(-1px)
}

.wh-btn-s {
    padding: 11px 14px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--r-s);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .12);
    transition: all .18s
}

.wh-btn-s:hover {
    background: rgba(255, 255, 255, .18)
}

/* STATS STRIP */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.stat-c {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-m);
    padding: 14px;
    text-align: center;
    box-shadow: var(--s1)
}

.stat-n {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1;
    margin-bottom: 3px
}

.stat-l {
    font-size: 10px;
    color: var(--ink-300);
    font-weight: 500
}

/* FILTER CHIPS */
.chip-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin-bottom: 16px
}

.chip-row::-webkit-scrollbar {
    display: none
}

.chip {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--ink-100);
    background: var(--white);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-500);
    cursor: pointer;
    transition: all .18s;
    font-family: inherit
}

.chip.on {
    background: var(--sage-lt);
    border-color: var(--sage);
    color: var(--sage)
}

/* PROGRAM CARDS */
.prog-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scroll-snap-type: x mandatory
}

.prog-scroll::-webkit-scrollbar {
    display: none
}

.prog-card {
    flex: 0 0 160px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-l);
    overflow: hidden;
    box-shadow: var(--s1);
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
    -webkit-tap-highlight-color: transparent;
    scroll-snap-align: start
}

.prog-card:hover {
    box-shadow: var(--s2);
    transform: translateY(-2px)
}

.prog-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: var(--ink-050)
}

.prog-body {
    padding: 10px 12px
}

.prog-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--amber);
    background: var(--amber-lt);
    border: 1px solid rgba(217, 122, 40, .15);
    padding: 2px 7px;
    border-radius: 5px;
    margin-bottom: 4px
}

.prog-badge.green {
    color: var(--sage);
    background: var(--sage-lt);
    border-color: rgba(27, 123, 75, .15)
}

.prog-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-700);
    line-height: 1.3;
    margin-bottom: 6px;
    min-height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.prog-amt {
    font-size: 10px;
    font-weight: 700;
    color: var(--sage);
    margin-bottom: 3px
}

.prog-track {
    height: 3px;
    background: var(--ink-100);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 3px
}

.prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage), #34C76B);
    border-radius: 99px
}

.prog-foot {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--ink-300)
}

/* (old prod-grid removed — using prod-scroll carousel now) */

/* INFINITY SLIDER */
.inf-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden
}

.inf-track {
    display: flex;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1)
}

.inf-slide {
    min-width: 100%;
    border-radius: var(--r-xl);
    overflow: hidden
}

.inf-inner {
    display: flex;
    align-items: stretch;
    height: 170px;
    background: linear-gradient(135deg, #EAF4EF 0%, #F0F7FF 100%)
}

.inf-txt {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.inf-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: var(--sage-lt);
    color: var(--sage);
    border: 1px solid rgba(27, 123, 75, .2);
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 8px;
    align-self: flex-start
}

.inf-ttl {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.3;
    margin-bottom: 4px
}

.inf-sub {
    font-size: 11px;
    color: var(--ink-500);
    margin-bottom: 12px;
    line-height: 1.5
}

.inf-cta {
    align-self: flex-start;
    padding: 7px 14px;
    background: var(--sage);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all .18s
}

.inf-cta:hover {
    background: var(--ink-900)
}

.inf-img-wrap {
    width: 42%;
    position: relative;
    flex-shrink: 0;
    overflow: hidden
}

.inf-img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.inf-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(234, 244, 239, .6), transparent);
    z-index: 1
}

.inf-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px
}

.inf-dot {
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .5);
    transition: all .3s;
    cursor: pointer;
    border: none
}

.inf-dot.on {
    background: var(--sage);
    width: 18px
}

.inf-dot:not(.on) {
    width: 6px
}

/* KALKULATOR */
.kalk-lbl {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--ink-300);
    margin-bottom: 14px
}

.kalk-inp {
    width: 100%;
    border: 1px solid var(--ink-100);
    border-radius: var(--r-s);
    padding: 10px 13px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-700);
    background: var(--ink-050);
    font-family: inherit;
    outline: none;
    transition: border-color .18s;
    margin-bottom: 12px
}

.kalk-inp:focus {
    border-color: var(--violet);
    background: var(--white)
}

.kalk-res {
    background: var(--ink-050);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-m);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px
}

.kalk-res-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.kalk-res-lbl {
    font-size: 12px;
    color: var(--ink-300)
}

.kalk-res-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-700)
}

.kalk-res-val.g {
    color: var(--sage)
}

.kalk-btn {
    width: 100%;
    padding: 12px;
    background: var(--sage);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--r-s);
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity .18s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.kalk-btn:hover {
    opacity: .88;
    transform: translateY(-1px)
}

/* DOA / TESTIMONIAL */
.testi-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 18px 8px;
    margin: 0 -18px
}

.testi-scroll::-webkit-scrollbar {
    display: none
}

.testi-card {
    flex: 0 0 220px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-l);
    padding: 14px;
    box-shadow: var(--s1);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.testi-head {
    display: flex;
    align-items: flex-start;
    gap: 8px
}

.testi-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-300);
    flex-shrink: 0
}

.testi-meta {
    flex: 1;
    min-width: 0
}

.testi-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.testi-prog {
    font-size: 10px;
    color: var(--sage);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.testi-time {
    font-size: 10px;
    color: var(--ink-300);
    margin-left: auto;
    flex-shrink: 0
}

.testi-msg {
    font-size: 12px;
    color: var(--ink-500);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.testi-amiin {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--ink-100);
    cursor: pointer
}

.testi-amiin.liked .ta-ico {
    color: #E53E3E;
    fill: #E53E3E
}

.testi-amiin.liked .ta-lbl {
    color: #E53E3E
}

.ta-ico {
    width: 14px;
    height: 14px;
    color: var(--ink-300);
    transition: all .2s
}

.ta-lbl {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-500);
    transition: color .2s
}

.ta-n {
    font-size: 11px;
    color: var(--ink-300);
    margin-left: auto
}

/* NAV */
.nav-shell {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 18px 18px;
    z-index: 100;
    pointer-events: none
}

.nav-bar {
    max-width: var(--max);
    margin: 0 auto;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px;
    padding: 8px 6px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 2px 0 rgba(255, 255, 255, .8) inset, 0 10px 36px rgba(10, 10, 15, .12);
    pointer-events: all
}

.nl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 12px;
    border-radius: 12px;
    color: var(--ink-300);
    cursor: pointer;
    transition: all .18s;
    -webkit-tap-highlight-color: transparent;
    min-width: 52px;
    flex: 1;
    text-decoration: none
}

.nl:hover {
    background: var(--ink-050);
    color: var(--ink-700)
}

.nl.on {
    color: var(--violet)
}

.nl-ico {
    width: 21px;
    height: 21px
}

.nl-lbl {
    font-size: 9.5px;
    font-weight: 600
}

.nl.on .nl-lbl {
    color: var(--violet)
}

.nl.on .nl-ico-wrap {
    background: var(--violet-lt);
    border-radius: 10px;
    padding: 4px
}

.nav-dot {
    width: 4px;
    height: 4px;
    border-radius: 99px;
    background: transparent;
    margin-top: 1px;
    transition: background .18s
}

.nl.on .nav-dot {
    background: var(--violet)
}

/* PROG TRACK */
.prog-track-bar {
    height: 5px;
    background: var(--ink-100);
    border-radius: 99px;
    overflow: hidden
}

.prog-fill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--violet), var(--sage));
    border-radius: 99px;
    width: 0;
    transition: width 1.4s cubic-bezier(.22, 1, .36, 1)
}

/* BELANJA PRODUCT CAROUSEL */
.prod-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scroll-snap-type: x mandatory
}

.prod-scroll::-webkit-scrollbar {
    display: none
}

.prod-card {
    flex: 0 0 200px;
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-l);
    overflow: hidden;
    box-shadow: var(--s1);
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column
}

.prod-card:hover {
    box-shadow: var(--s2);
    transform: translateY(-2px)
}

.pc-img {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.pc-emoji {
    font-size: 48px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .1));
    transition: transform .3s
}

.prod-card:hover .pc-emoji {
    transform: scale(1.12) rotate(-3deg)
}

.pc-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: .3px
}

.pc-badge.hot {
    background: var(--violet);
    color: white
}

.pc-badge.new {
    background: #E91E63;
    color: white
}

.pc-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.pc-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-700);
    line-height: 1.4;
    margin-bottom: 3px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.pc-desc {
    font-size: 10px;
    color: var(--ink-300);
    margin-bottom: 6px;
    line-height: 1.4
}

.pc-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--violet);
    letter-spacing: -.3px;
    margin-top: auto
}

/* Program Wakaf image 1:1 */
.prog-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: var(--ink-050)
}

@media(max-width:380px) {

    .prod-card,
    .prog-card {
        flex: 0 0 170px
    }

    .pc-emoji {
        font-size: 38px
    }

    .pc-name {
        font-size: 11px
    }

    .pc-price {
        font-size: 13px
    }
}

/* CAROUSEL — partner banners */
.carousel-wrap{position:relative;border-radius:var(--r-xl);overflow:hidden;background:var(--ink-100);margin-bottom:12px}
.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-slide{flex:0 0 100%;position:relative;scroll-snap-align:center}
.carousel-slide img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.carousel-slide a{display:block;width:100%}
.carousel-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:2}
.carousel-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);border:none;cursor:pointer;transition:all .25s;padding:0}
.carousel-dot.on{width:22px;border-radius:4px;background:white}

/* Product card image overlay */
.pc-img img{width:100%;height:100%;object-fit:cover;display:block}

/* ═══════════════════════════════════════════
   RESPONSIVE CARDS
   ═══════════════════════════════════════════ */
@media(max-width:359px) {
    .prog-card { flex: 0 0 calc((100% - 12px) / 2.2) }
}
@media(min-width:360px) and (max-width:479px) {
    .prog-card { flex: 0 0 calc((100% - 12px) / 2.3) }
}
@media(min-width:480px) and (max-width:767px) {
    .prog-card { flex: 0 0 calc((100% - 24px) / 3.3) }
}
@media(min-width:768px) {
    .prog-card { flex: 0 0 160px }
}