/* =========================================================
   PasarKoe — Presentation Deck Stylesheet
   Brand: Green #01943C  /  Gold #F9CD06
   Targets: WXGA (1280x800) & Full HD (1920x1080)
   ========================================================= */

:root {
    --green: #01943C;
    --green-tint: #1a9f50;
    --green-deep: #016a2b;
    --green-darker: #004d20;
    --gold: #F9CD06;
    --gold-deep: #dbb405;
    --whatsapp: #25D366;

    --ink: #15231a;
    --ink-soft: #4a5d51;
    --muted: #7b8a80;
    --line: #e6ece8;
    --bg: #f4f9f6;
    --white: #ffffff;

    --radius: 22px;
    --radius-sm: 14px;
    --shadow-sm: 0 6px 18px rgba(1, 80, 35, 0.07);
    --shadow-md: 0 16px 40px rgba(1, 80, 35, 0.12);
    --shadow-lg: 0 30px 70px rgba(1, 80, 35, 0.18);

    --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Fluid scaling base. Tuned for 1280–1920.
       Uses the smaller of width- and height-based scaling so slides stay
       balanced on height-constrained projectors (e.g. 1280x800). */
    --u: clamp(0.92px, min(0.078vw + 0.42px, 0.13vh), 1.18px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: #0b3a20;
    font-family: var(--font-body);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- Deck & slides ---------- */
.deck {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(64 * var(--u)) calc(96 * var(--u)) calc(84 * var(--u));
    background: radial-gradient(135% 120% at 0% 0%, #ffffff 0%, var(--bg) 55%, #eaf3ee 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(0.99);
    transition: opacity .5s ease, transform .5s ease, visibility .5s;
    overflow: hidden;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 2;
}

/* decorative corner accents on content slides */
.slide:not(.slide--cover)::before {
    content: "";
    position: absolute;
    top: calc(-160 * var(--u));
    right: calc(-160 * var(--u));
    width: calc(420 * var(--u));
    height: calc(420 * var(--u));
    background: radial-gradient(circle at center, rgba(249,205,6,0.20), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.slide:not(.slide--cover)::after {
    content: "";
    position: absolute;
    bottom: calc(-180 * var(--u));
    left: calc(-140 * var(--u));
    width: calc(460 * var(--u));
    height: calc(460 * var(--u));
    background: radial-gradient(circle at center, rgba(1,148,60,0.16), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ---------- Slide header ---------- */
.slide-head { position: relative; z-index: 1; margin-bottom: calc(36 * var(--u)); max-width: 78%; }

.kicker {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(15 * var(--u));
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(1,148,60,0.10);
    padding: calc(7 * var(--u)) calc(16 * var(--u));
    border-radius: 100px;
    margin-bottom: calc(18 * var(--u));
}

.slide-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(50 * var(--u));
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.slide-title .accent { color: var(--green); position: relative; }
.slide-title .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: calc(2 * var(--u));
    height: calc(10 * var(--u));
    background: var(--gold);
    opacity: 0.45;
    border-radius: 4px;
    z-index: -1;
}

.slide-sub {
    margin-top: calc(16 * var(--u));
    font-size: calc(20 * var(--u));
    line-height: 1.55;
    color: var(--ink-soft);
    font-weight: 400;
}

/* ---------- Grid layouts ---------- */
.grid { display: grid; gap: calc(26 * var(--u)); position: relative; z-index: 1; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card, .feature, .mini-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .35s ease, box-shadow .35s ease;
}
.is-active .card,
.is-active .feature,
.is-active .mini-card { animation: rise .55s cubic-bezier(.2,.7,.3,1) backwards; }

.card { padding: calc(34 * var(--u)); }
.feature { padding: calc(30 * var(--u)); }
.mini-card { padding: calc(26 * var(--u)); }

.card--role { border-top: calc(5 * var(--u)) solid var(--green); }
.card--role:nth-child(2) { border-top-color: var(--gold); }

.card h3, .feature h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(25 * var(--u));
    color: var(--ink);
    margin-bottom: calc(12 * var(--u));
}
.mini-card h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(19 * var(--u));
    color: var(--ink);
    margin-bottom: calc(9 * var(--u));
}
.card p, .feature p, .mini-card p {
    font-size: calc(16.5 * var(--u));
    line-height: 1.6;
    color: var(--ink-soft);
}
.mini-card p { font-size: calc(15 * var(--u)); }

/* ---------- Icon badges ---------- */
.card-icon {
    width: calc(70 * var(--u));
    height: calc(70 * var(--u));
    border-radius: calc(20 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(30 * var(--u));
    margin-bottom: calc(20 * var(--u));
    color: var(--white);
}
.card-icon.sm {
    width: calc(58 * var(--u));
    height: calc(58 * var(--u));
    border-radius: calc(16 * var(--u));
    font-size: calc(25 * var(--u));
    margin-bottom: calc(16 * var(--u));
}
.icon-green { background: linear-gradient(135deg, var(--green-tint), var(--green-deep)); box-shadow: 0 10px 22px -8px rgba(1,148,60,0.6); }
.icon-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #4a3c00 !important; box-shadow: 0 10px 22px -8px rgba(219,180,5,0.6); }
.icon-whatsapp { background: linear-gradient(135deg, #2fe07a, #128c46); box-shadow: 0 10px 22px -8px rgba(37,211,102,0.6); }

/* ---------- Feature step number ---------- */
.feature { padding-top: calc(38 * var(--u)); }
.feature-step {
    position: absolute;
    top: calc(-18 * var(--u));
    right: calc(26 * var(--u));
    width: calc(46 * var(--u));
    height: calc(46 * var(--u));
    border-radius: 50%;
    background: var(--gold);
    color: var(--green-darker);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(20 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: calc(3 * var(--u)) solid #fff;
}

/* ---------- Check list ---------- */
.check-list { list-style: none; margin-top: calc(14 * var(--u)); }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: calc(12 * var(--u));
    font-size: calc(16.5 * var(--u));
    line-height: 1.5;
    color: var(--ink-soft);
    padding: calc(7 * var(--u)) 0;
}
.check-list li i {
    flex: none;
    margin-top: calc(3 * var(--u));
    width: calc(22 * var(--u));
    height: calc(22 * var(--u));
    border-radius: 50%;
    background: rgba(1,148,60,0.12);
    color: var(--green);
    font-size: calc(11 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Stat strip ---------- */
.stat-strip {
    margin-top: calc(34 * var(--u));
    display: flex;
    gap: calc(18 * var(--u));
    position: relative;
    z-index: 1;
}
.stat {
    flex: 1;
    background: linear-gradient(135deg, var(--green), var(--green-deep));
    color: #fff;
    border-radius: var(--radius-sm);
    padding: calc(22 * var(--u)) calc(20 * var(--u));
    text-align: center;
    box-shadow: var(--shadow-md);
}
.stat:nth-child(even) {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--green-darker);
}
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(34 * var(--u));
    line-height: 1;
    margin-bottom: calc(8 * var(--u));
}
.stat-label { font-size: calc(14.5 * var(--u)); font-weight: 500; opacity: 0.92; }
.stat-strip--compact .stat-num { font-size: calc(28 * var(--u)); }

/* ---------- Callout ---------- */
.callout {
    margin-top: calc(32 * var(--u));
    display: flex;
    align-items: center;
    gap: calc(20 * var(--u));
    background: rgba(1,148,60,0.07);
    border: 1px solid rgba(1,148,60,0.18);
    border-left: calc(6 * var(--u)) solid var(--green);
    border-radius: var(--radius-sm);
    padding: calc(22 * var(--u)) calc(28 * var(--u));
    position: relative;
    z-index: 1;
}
.callout i {
    font-size: calc(30 * var(--u));
    color: var(--green);
    flex: none;
}
.callout p { font-size: calc(17.5 * var(--u)); line-height: 1.55; color: var(--ink-soft); }
.callout strong { color: var(--ink); }
.callout--gold {
    background: rgba(249,205,6,0.12);
    border-color: rgba(219,180,5,0.35);
    border-left-color: var(--gold-deep);
}
.callout--gold i { color: var(--gold-deep); }

/* ---------- Band (horizontal facts) ---------- */
.band {
    margin-top: calc(30 * var(--u));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(18 * var(--u));
    position: relative;
    z-index: 1;
}
.band-item {
    display: flex;
    align-items: flex-start;
    gap: calc(14 * var(--u));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: calc(20 * var(--u));
    box-shadow: var(--shadow-sm);
    font-size: calc(15.5 * var(--u));
    line-height: 1.5;
    color: var(--ink-soft);
}
.band-item i {
    flex: none;
    font-size: calc(22 * var(--u));
    color: var(--green);
    margin-top: calc(2 * var(--u));
}

/* ---------- Tag rows ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)); margin-top: calc(18 * var(--u)); }
.tag {
    display: inline-flex;
    align-items: center;
    gap: calc(8 * var(--u));
    font-size: calc(14 * var(--u));
    font-weight: 600;
    color: var(--green-deep);
    background: rgba(1,148,60,0.09);
    border-radius: 100px;
    padding: calc(8 * var(--u)) calc(15 * var(--u));
}
.tag i { font-size: calc(13 * var(--u)); }

/* ---------- Status flow ---------- */
.flow {
    margin-top: calc(34 * var(--u));
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(14 * var(--u));
    position: relative;
    z-index: 1;
}
.flow-step {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(16 * var(--u));
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: calc(11 * var(--u)) calc(22 * var(--u));
    box-shadow: var(--shadow-sm);
}
.flow i { color: var(--muted); font-size: calc(16 * var(--u)); }
.flow-step--ok { background: var(--green); color: #fff; border-color: var(--green); }
.flow-step--no { background: #fff0f0; color: #d33; border-color: #f3c9c9; }

/* =========================================================
   PHONE MOCKUP & APP SHOWCASE
   ========================================================= */
/* Two-column showcase: phone(s) on one side, explanation on the other */
.showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: calc(54 * var(--u));
    position: relative;
    z-index: 1;
}
.showcase--right { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.showcase--right .showcase__visual { order: 2; }

.showcase__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(28 * var(--u));
}

/* Phone frame keeps a fixed aspect ratio so screenshots never distort */
.phone {
    position: relative;
    width: calc(252 * var(--u));
    aspect-ratio: 390 / 717;
    background: #0c1f15;
    border-radius: calc(40 * var(--u));
    padding: calc(11 * var(--u));
    box-shadow: 0 40px 80px -28px rgba(1,40,18,0.55),
                0 0 0 calc(2 * var(--u)) rgba(255,255,255,0.06) inset;
    flex: none;
    animation: rise .6s cubic-bezier(.2,.7,.3,1) backwards;
}
.phone--sm { width: calc(214 * var(--u)); }
.phone--lift { transform: translateY(calc(-20 * var(--u))); }
.phone--tilt-l { transform: rotate(-5deg); z-index: 1; }
.phone--tilt-r { transform: rotate(5deg); z-index: 1; }
.phone--front { z-index: 3; }

/* notch */
.phone::before {
    content: "";
    position: absolute;
    top: calc(11 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    width: calc(86 * var(--u));
    height: calc(20 * var(--u));
    background: #0c1f15;
    border-bottom-left-radius: calc(14 * var(--u));
    border-bottom-right-radius: calc(14 * var(--u));
    z-index: 2;
}
.phone__screen {
    width: 100%;
    height: 100%;
    border-radius: calc(30 * var(--u));
    overflow: hidden;
    background: #f4f7f5;
    position: relative;
}
.phone__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* caption pill under a phone group */
.phone-caption {
    margin-top: calc(20 * var(--u));
    text-align: center;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: calc(15 * var(--u));
    color: var(--green-deep);
}

/* explanation column inside showcase */
.showcase__body { position: relative; z-index: 1; }
.showcase__list { list-style: none; display: grid; gap: calc(16 * var(--u)); }
.showcase__list li {
    display: flex;
    align-items: flex-start;
    gap: calc(16 * var(--u));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: calc(18 * var(--u)) calc(22 * var(--u));
    box-shadow: var(--shadow-sm);
}
.is-active .showcase__list li { animation: rise .5s cubic-bezier(.2,.7,.3,1) backwards; }
.showcase__list li:nth-child(2) { animation-delay: .07s; }
.showcase__list li:nth-child(3) { animation-delay: .14s; }
.showcase__list li:nth-child(4) { animation-delay: .21s; }
.showcase__ico {
    flex: none;
    width: calc(48 * var(--u));
    height: calc(48 * var(--u));
    border-radius: calc(14 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(21 * var(--u));
    color: #fff;
    background: linear-gradient(135deg, var(--green-tint), var(--green-deep));
}
.showcase__list li:nth-child(even) .showcase__ico {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #4a3c00;
}
.showcase__txt h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(19 * var(--u));
    color: var(--ink);
    margin-bottom: calc(4 * var(--u));
}
.showcase__txt p {
    font-size: calc(15.5 * var(--u));
    line-height: 1.5;
    color: var(--ink-soft);
}

/* =========================================================
   COVER & CLOSING SLIDES
   ========================================================= */
.slide--cover {
    align-items: center;
    text-align: center;
    background: radial-gradient(120% 120% at 50% 0%, #0c8a3e 0%, #016a2b 45%, #014c1f 100%);
    color: #fff;
}
.cover-inner { position: relative; z-index: 3; max-width: calc(900 * var(--u)); }

.cover-logo {
    background: #fff;
    display: inline-flex;
    padding: calc(26 * var(--u)) calc(46 * var(--u));
    border-radius: calc(26 * var(--u));
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    margin-bottom: calc(40 * var(--u));
    animation: rise .7s cubic-bezier(.2,.7,.3,1) backwards;
}
.cover-logo img { height: calc(86 * var(--u)); display: block; }
.cover-logo--sm { padding: calc(18 * var(--u)) calc(34 * var(--u)); margin-bottom: calc(30 * var(--u)); }
.cover-logo--sm img { height: calc(58 * var(--u)); }

.cover-tagline {
    font-size: calc(23 * var(--u));
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
    max-width: calc(720 * var(--u));
    margin: 0 auto;
    animation: rise .7s .1s cubic-bezier(.2,.7,.3,1) backwards;
}

.cover-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: calc(14 * var(--u));
    margin-top: calc(36 * var(--u));
    animation: rise .7s .2s cubic-bezier(.2,.7,.3,1) backwards;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: calc(10 * var(--u));
    font-family: var(--font-head);
    font-weight: 600;
    font-size: calc(16.5 * var(--u));
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    border-radius: 100px;
    padding: calc(12 * var(--u)) calc(22 * var(--u));
}
.pill i { color: var(--gold); }

.cover-meta {
    margin-top: calc(48 * var(--u));
    display: flex;
    justify-content: center;
    gap: calc(34 * var(--u));
    flex-wrap: wrap;
    animation: rise .7s .3s cubic-bezier(.2,.7,.3,1) backwards;
}
.cover-meta span {
    display: inline-flex;
    align-items: center;
    gap: calc(10 * var(--u));
    font-size: calc(15 * var(--u));
    color: rgba(255,255,255,0.78);
}
.cover-meta i { color: var(--gold); }

/* closing */
.closing-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(64 * var(--u));
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: calc(24 * var(--u));
    animation: rise .7s .05s cubic-bezier(.2,.7,.3,1) backwards;
}
.closing-title .accent { color: var(--gold); }
.thanks {
    margin-top: calc(44 * var(--u));
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(26 * var(--u));
    letter-spacing: 0.04em;
    color: var(--gold);
    animation: rise .7s .35s cubic-bezier(.2,.7,.3,1) backwards;
}

/* ---------- Background ornaments ---------- */
.bg-ornaments { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.blob--green { width: calc(560 * var(--u)); height: calc(560 * var(--u)); background: #08b04c; opacity: 0.35; top: calc(-140 * var(--u)); left: calc(-120 * var(--u)); animation: float 12s ease-in-out infinite; }
.blob--gold  { width: calc(480 * var(--u)); height: calc(480 * var(--u)); background: var(--gold); opacity: 0.22; bottom: calc(-160 * var(--u)); right: calc(-120 * var(--u)); animation: float 14s ease-in-out infinite reverse; }

.ring { position: absolute; border-radius: 50%; border: calc(2 * var(--u)) solid rgba(255,255,255,0.10); }
.ring--1 { width: calc(620 * var(--u)); height: calc(620 * var(--u)); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.ring--2 { width: calc(900 * var(--u)); height: calc(900 * var(--u)); top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(255,255,255,0.06); }

.deco-icon {
    position: absolute;
    color: rgba(255,255,255,0.10);
    font-size: calc(70 * var(--u));
    animation: float 10s ease-in-out infinite;
}
.deco-icon--1 { top: calc(120 * var(--u)); right: calc(160 * var(--u)); }
.deco-icon--2 { bottom: calc(140 * var(--u)); left: calc(150 * var(--u)); font-size: calc(58 * var(--u)); animation-delay: 1.5s; }
.deco-icon--3 { top: calc(180 * var(--u)); left: calc(240 * var(--u)); font-size: calc(48 * var(--u)); animation-delay: 1s; }
.deco-icon--4 { bottom: calc(200 * var(--u)); right: calc(280 * var(--u)); font-size: calc(52 * var(--u)); animation-delay: 2.2s; }

/* =========================================================
   UI CONTROLS
   ========================================================= */
.progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: calc(5 * var(--u));
    background: rgba(0,0,0,0.10);
    z-index: 50;
}
#progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--green), var(--gold));
    transition: width .5s cubic-bezier(.2,.7,.3,1);
}

.nav-dots {
    position: fixed;
    left: 50%;
    bottom: calc(26 * var(--u));
    transform: translateX(-50%);
    display: none;
}

/* =========================================================
   MASKOT — Si Kanu (tas belanja menggemaskan)
   ========================================================= */
.mascot {
    /* dianchor di kiri-atas, lalu "terbang" ke posisi via transform translate
       (transform bisa di-interpolasi mulus, beda dgn left/top yg patah) */
    position: fixed;
    left: 0;
    top: 0;
    --mx: calc(26 * var(--u));
    --my: calc(100vh - 122 * var(--u));
    --tilt: 0deg;
    width: calc(84 * var(--u));
    height: calc(96 * var(--u));
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    z-index: 60;
    -webkit-tap-highlight-color: transparent;
    transform: translate(var(--mx), var(--my)) rotate(var(--tilt));
    transition: transform .85s cubic-bezier(.45,.05,.25,1);
    will-change: transform;
}
.mascot:focus-visible { outline: calc(3 * var(--u)) solid var(--gold); outline-offset: calc(4 * var(--u)); border-radius: calc(20 * var(--u)); }

/* posisi maskot — berpindah tiap ganti slide, menjauhi materi utama
   (judul di kiri-atas & isi di tengah) */
.mascot.pos-bl { --mx: calc(26 * var(--u));            --my: calc(100vh - 122 * var(--u)); }
.mascot.pos-br { --mx: calc(100vw - 110 * var(--u));   --my: calc(100vh - 122 * var(--u)); }
.mascot.pos-tr { --mx: calc(100vw - 110 * var(--u));   --my: calc(82 * var(--u)); }

/* saat berpindah: sedikit miring & melayang seperti terbang */
.mascot.flying { --tilt: -8deg; transition: transform .9s cubic-bezier(.5,.02,.2,1); }
.mascot.flying.flying--right { --tilt: 8deg; }

/* badan tas — gerak ambang (bob) hidup di sini agar tak bentrok dgn translate posisi */
.mascot__body {
    position: absolute;
    left: 50%;
    bottom: calc(8 * var(--u));
    transform: translateX(-50%);
    width: calc(72 * var(--u));
    height: calc(72 * var(--u));
    background: linear-gradient(165deg, #04aa46 0%, var(--green) 60%, #017030 100%);
    border-radius: calc(16 * var(--u)) calc(16 * var(--u)) calc(26 * var(--u)) calc(26 * var(--u));
    box-shadow: 0 calc(10 * var(--u)) calc(22 * var(--u)) rgba(1,80,33,0.35), inset 0 calc(3 * var(--u)) 0 rgba(255,255,255,0.18);
    z-index: 2;
    animation: mascotIdle 2.6s ease-in-out infinite;
    transition: transform .25s cubic-bezier(.34,1.6,.5,1);
}
.mascot:hover .mascot__body { transform: translateX(-50%) scale(1.07); }
.mascot:active .mascot__body { transform: translateX(-50%) scale(.93); }
/* saat terbang, badan sedikit memanjang & mengayun */
.mascot.flying .mascot__body { animation: mascotFly .9s ease-in-out; }
/* pegangan tas */
.mascot__handle {
    position: absolute;
    top: calc(-20 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    width: calc(40 * var(--u));
    height: calc(34 * var(--u));
    border: calc(7 * var(--u)) solid var(--gold);
    border-bottom: none;
    border-radius: calc(24 * var(--u)) calc(24 * var(--u)) 0 0;
    z-index: 1;
}
/* wajah */
.mascot__face {
    position: absolute;
    inset: 0;
    z-index: 3;
}
.mascot__eye {
    position: absolute;
    top: calc(22 * var(--u));
    width: calc(15 * var(--u));
    height: calc(17 * var(--u));
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    animation: mascotBlink 4s infinite;
}
.mascot__eye--l { left: calc(16 * var(--u)); }
.mascot__eye--r { right: calc(16 * var(--u)); }
.mascot__pupil {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%,-50%);
    width: calc(8 * var(--u));
    height: calc(8 * var(--u));
    background: #06301a;
    border-radius: 50%;
    animation: mascotLook 5s ease-in-out infinite;
}
.mascot__cheek {
    position: absolute;
    top: calc(40 * var(--u));
    width: calc(11 * var(--u));
    height: calc(7 * var(--u));
    background: rgba(255,140,160,0.65);
    border-radius: 50%;
}
.mascot__cheek--l { left: calc(11 * var(--u)); }
.mascot__cheek--r { right: calc(11 * var(--u)); }
.mascot__mouth {
    position: absolute;
    top: calc(42 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    width: calc(16 * var(--u));
    height: calc(8 * var(--u));
    background: #06301a;
    border-radius: 0 0 calc(16 * var(--u)) calc(16 * var(--u));
    transition: height .2s ease;
}
.mascot:hover .mascot__mouth { height: calc(12 * var(--u)); }
/* tangan kecil yang melambai */
.mascot__arm {
    position: absolute;
    bottom: calc(26 * var(--u));
    width: calc(16 * var(--u));
    height: calc(9 * var(--u));
    background: var(--gold);
    border-radius: 100px;
    z-index: 1;
}
.mascot__arm--l { left: calc(-6 * var(--u)); transform-origin: right center; transform: rotate(18deg); }
.mascot__arm--r { right: calc(-6 * var(--u)); transform-origin: left center; animation: mascotWave 1.6s ease-in-out infinite; }
.mascot:hover .mascot__arm--r { animation-duration: .5s; }
/* saat terbang, kedua lengan mengepak seperti sayap */
.mascot.flying .mascot__arm--l { animation: mascotFlapL .3s ease-in-out 3; }
.mascot.flying .mascot__arm--r { animation: mascotFlapR .3s ease-in-out 3; }
/* label PK */
.mascot__tag {
    position: absolute;
    bottom: calc(12 * var(--u));
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(13 * var(--u));
    letter-spacing: .04em;
    color: var(--gold);
    z-index: 4;
}
.mascot__shadow {
    position: absolute;
    left: 50%;
    bottom: calc(-2 * var(--u));
    transform: translateX(-50%);
    width: calc(58 * var(--u));
    height: calc(10 * var(--u));
    background: rgba(0,0,0,0.18);
    border-radius: 50%;
    filter: blur(calc(2 * var(--u)));
    z-index: 0;
    animation: mascotShadow 2.6s ease-in-out infinite;
}
/* ---- gerakan reaksi saat diklik (selalu berganti-ganti) ---- */
.mascot.react-jump   .mascot__body { animation: mascotJump   .8s cubic-bezier(.3,1.4,.5,1); }
.mascot.react-spin   .mascot__body { animation: mascotSpin   .8s ease; }
.mascot.react-wiggle .mascot__body { animation: mascotWiggle .8s ease; }
.mascot.react-flip   .mascot__body { animation: mascotFlip   .8s ease; }
.mascot.react-squish .mascot__body { animation: mascotSquish .8s ease; }
.mascot.react-dance  .mascot__body { animation: mascotDance  .8s ease; }

/* ---- gerakan lucu saat kursor hover (beda tiap kali masuk) ---- */
.mascot.hover-bounce .mascot__body { animation: mascotBounce .6s ease-in-out infinite; }
.mascot.hover-shake  .mascot__body { animation: mascotShake  .5s ease-in-out infinite; }
.mascot.hover-tilt   .mascot__body { animation: mascotTilt   .9s ease-in-out infinite; }
.mascot.hover-pop    .mascot__body { animation: mascotPop    .7s ease-in-out infinite; }
.mascot.hover-roll   .mascot__body { animation: mascotRoll   .9s ease-in-out infinite; }
/* mulut ikut "wow" saat hover untuk ekspresi senang */
.mascot.hover-pop .mascot__mouth,
.mascot.hover-bounce .mascot__mouth { height: calc(13 * var(--u)); }

/* =========================================================
   OVERVIEW — Tampilan Tile semua slide
   ========================================================= */
.overview {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8,40,22,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    padding: calc(34 * var(--u)) calc(46 * var(--u)) calc(40 * var(--u));
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}
.overview.is-open { opacity: 1; visibility: visible; }
.overview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: calc(26 * var(--u));
    flex-shrink: 0;
}
.overview__title {
    display: flex;
    align-items: center;
    gap: calc(14 * var(--u));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(24 * var(--u));
}
.overview__logo { height: calc(40 * var(--u)); background: #fff; padding: calc(7 * var(--u)) calc(12 * var(--u)); border-radius: calc(12 * var(--u)); }
.overview__close {
    width: calc(50 * var(--u));
    height: calc(50 * var(--u));
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: calc(20 * var(--u));
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.overview__close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.overview__grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(20 * var(--u));
    align-content: start;
    overflow-y: auto;
    padding: calc(4 * var(--u));
}
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(8 * var(--u));
    text-align: left;
    background: linear-gradient(165deg, #ffffff, #f3faf5);
    border: calc(2 * var(--u)) solid transparent;
    border-radius: calc(18 * var(--u));
    padding: calc(20 * var(--u)) calc(20 * var(--u)) calc(22 * var(--u));
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform .25s cubic-bezier(.34,1.4,.5,1), box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
    animation: tilePop .45s var(--d, 0s) cubic-bezier(.2,.7,.3,1) backwards;
}
.tile:hover { transform: translateY(calc(-6 * var(--u))); box-shadow: 0 calc(20 * var(--u)) calc(38 * var(--u)) rgba(0,0,0,0.28); border-color: var(--gold); }
.tile.is-active { border-color: var(--green); }
.tile.is-active::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(1,148,60,0.10), rgba(249,205,6,0.10));
}
.tile__num {
    position: absolute;
    top: calc(14 * var(--u));
    right: calc(16 * var(--u));
    font-family: var(--font-head);
    font-weight: 800;
    font-size: calc(34 * var(--u));
    line-height: 1;
    color: rgba(1,148,60,0.14);
}
.tile__icon {
    width: calc(48 * var(--u));
    height: calc(48 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(14 * var(--u));
    background: linear-gradient(150deg, var(--green), #04aa46);
    color: #fff;
    font-size: calc(20 * var(--u));
    box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(1,148,60,0.3);
    position: relative;
    z-index: 1;
}
.tile__kicker {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(11 * var(--u));
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gold-ink, #b58900);
    position: relative;
    z-index: 1;
}
.tile__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: calc(16 * var(--u));
    line-height: 1.25;
    color: var(--ink);
    position: relative;
    z-index: 1;
}

.fs-btn {
    position: fixed;
    right: calc(26 * var(--u));
    top: calc(24 * var(--u));
    width: calc(46 * var(--u));
    height: calc(46 * var(--u));
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: var(--green);
    font-size: calc(17 * var(--u));
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 50;
    backdrop-filter: blur(6px);
    transition: transform .2s ease, background .2s;
}
.fs-btn:hover { transform: translateY(-2px); background: #fff; }

/* fs contrast on cover slides */
.slide--cover.is-active ~ .fs-btn { color: var(--green); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes mascotIdle {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(calc(-7 * var(--u))); }
}
@keyframes mascotFly {
    0%   { transform: translateX(-50%) translateY(0) scale(1); }
    25%  { transform: translateX(-50%) translateY(calc(-14 * var(--u))) scale(1.04,.95); }
    55%  { transform: translateX(-50%) translateY(calc(-20 * var(--u))) scale(1.02,.97); }
    100% { transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes mascotShadow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: .18; }
    50%      { transform: translateX(-50%) scale(.82); opacity: .12; }
}
@keyframes mascotBlink {
    0%, 92%, 100% { transform: scaleY(1); }
    96%           { transform: scaleY(.1); }
}
@keyframes mascotLook {
    0%, 30%, 100% { transform: translate(-50%,-50%); }
    45%, 60%      { transform: translate(-15%,-50%); }
    75%, 85%      { transform: translate(-85%,-50%); }
}
@keyframes mascotWave {
    0%, 100% { transform: rotate(-12deg); }
    50%      { transform: rotate(28deg); }
}
@keyframes mascotFlapL {
    0%, 100% { transform: rotate(18deg); }
    50%      { transform: rotate(-32deg); }
}
@keyframes mascotFlapR {
    0%, 100% { transform: rotate(-18deg); }
    50%      { transform: rotate(32deg); }
}
@keyframes mascotJump {
    0%   { transform: translateX(-50%) translateY(0) scale(1); }
    35%  { transform: translateX(-50%) translateY(calc(-26 * var(--u))) scale(1.05,.95); }
    70%  { transform: translateX(-50%) translateY(0) scale(.96,1.04); }
    100% { transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes mascotSpin {
    from { transform: translateX(-50%) rotate(0); }
    to   { transform: translateX(-50%) rotate(360deg); }
}
/* ---- reaksi klik tambahan ---- */
@keyframes mascotWiggle {
    0%, 100% { transform: translateX(-50%) rotate(0); }
    20%      { transform: translateX(-50%) rotate(-16deg); }
    45%      { transform: translateX(-50%) rotate(14deg); }
    70%      { transform: translateX(-50%) rotate(-9deg); }
    85%      { transform: translateX(-50%) rotate(5deg); }
}
@keyframes mascotFlip {
    0%   { transform: translateX(-50%) rotateY(0); }
    100% { transform: translateX(-50%) rotateY(360deg); }
}
@keyframes mascotSquish {
    0%, 100% { transform: translateX(-50%) scale(1, 1); }
    30%      { transform: translateX(-50%) scale(1.22, .72); }
    55%      { transform: translateX(-50%) scale(.82, 1.18); }
    78%      { transform: translateX(-50%) scale(1.06, .96); }
}
@keyframes mascotDance {
    0%, 100% { transform: translateX(-50%) translateX(0) rotate(0); }
    20%      { transform: translateX(-50%) translateX(calc(-8 * var(--u))) rotate(-12deg); }
    50%      { transform: translateX(-50%) translateX(calc(8 * var(--u))) rotate(12deg); }
    80%      { transform: translateX(-50%) translateX(calc(-5 * var(--u))) rotate(-7deg); }
}
/* ---- gerakan hover (loop selama kursor di atas) ---- */
@keyframes mascotBounce {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    50%      { transform: translateX(-50%) translateY(calc(-16 * var(--u))) scale(1.05, .95); }
}
@keyframes mascotShake {
    0%, 100% { transform: translateX(-50%) rotate(-8deg); }
    50%      { transform: translateX(-50%) rotate(8deg); }
}
@keyframes mascotTilt {
    0%, 100% { transform: translateX(-50%) rotate(-10deg) translateY(0); }
    50%      { transform: translateX(-50%) rotate(10deg) translateY(calc(-6 * var(--u))); }
}
@keyframes mascotPop {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50%      { transform: translateX(-50%) scale(1.14); }
}
@keyframes mascotRoll {
    0%, 100% { transform: translateX(-50%) rotate(-14deg) translateX(calc(-4 * var(--u))); }
    50%      { transform: translateX(-50%) rotate(14deg) translateX(calc(4 * var(--u))); }
}
@keyframes tilePop {
    from { opacity: 0; transform: translateY(calc(22 * var(--u))) scale(.94); }
    to   { opacity: 1; transform: none; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}
.is-active .slide-head { animation: rise .55s cubic-bezier(.2,.7,.3,1) backwards; }
.is-active .stat-strip,
.is-active .band,
.is-active .callout,
.is-active .flow { animation: rise .6s .15s cubic-bezier(.2,.7,.3,1) backwards; }

/* stagger cards */
.is-active .grid > *:nth-child(1) { animation-delay: .08s; }
.is-active .grid > *:nth-child(2) { animation-delay: .16s; }
.is-active .grid > *:nth-child(3) { animation-delay: .24s; }
.is-active .grid > *:nth-child(4) { animation-delay: .32s; }

@keyframes float {
    0%   { transform: translate(0,0); }
    50%  { transform: translate(20px, -26px); }
    100% { transform: translate(0,0); }
}

/* =========================================================
   RESPONSIVE — keep layout pristine on WXGA & FHD,
   gracefully degrade on small/odd screens.
   ========================================================= */

/* WXGA 1280x800 — reduce paddings a touch */
@media (max-width: 1366px) {
    .slide { padding: calc(56 * var(--u)) calc(72 * var(--u)) calc(90 * var(--u)); }
    .slide-head { max-width: 86%; }
}

/* Full HD and larger — cap content width & center for balance */
@media (min-width: 1700px) {
    .slide {
        padding-left: max(calc(96 * var(--u)), 6vw);
        padding-right: max(calc(96 * var(--u)), 6vw);
    }
}

/* Short / projector landscape safety */
@media (max-height: 760px) {
    .slide { justify-content: flex-start; padding-top: calc(46 * var(--u)); }
    .slide-head { margin-bottom: calc(26 * var(--u)); }
}

/* Slide "Manfaat" punya 6 kartu (3x2) — ikon dijadikan watermark absolute di
   pojok kanan bawah (miring & transparan, tanpa background) supaya tidak
   menambah tinggi kartu. */
#slide-manfaat .feature { overflow: hidden; }
#slide-manfaat .feature .card-icon {
    position: absolute;
    right: calc(2 * var(--u));
    bottom: calc(-6 * var(--u));
    margin: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none !important;
    box-shadow: none !important;
    font-size: calc(82 * var(--u));
    opacity: 0.14;
    transform: rotate(-18deg);
    pointer-events: none;
    line-height: 1;
}
#slide-manfaat .feature .card-icon.icon-green i { color: var(--green); }
#slide-manfaat .feature .card-icon.icon-gold i { color: var(--gold-deep); }

@media (max-height: 860px) {
    #slide-manfaat .grid { gap: calc(18 * var(--u)); }
    #slide-manfaat .feature { padding: calc(22 * var(--u)); padding-top: calc(24 * var(--u)); }
    #slide-manfaat .feature p { margin-top: calc(6 * var(--u)); }
    #slide-manfaat .slide-head { margin-bottom: calc(24 * var(--u)); }
}

/* Tablet / narrow fallback */
@media (max-width: 900px) {
    .grid-3, .grid-4, .band { grid-template-columns: repeat(2, 1fr); }
    .slide-head { max-width: 100%; }
    .overview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    :root { --u: 1px; }
    .slide { padding: 40px 22px 96px; }
    .grid-2, .grid-3, .grid-4, .band { grid-template-columns: 1fr; }
    .slide-title { font-size: 32px; }
    .stat-strip { flex-wrap: wrap; }
    .stat { min-width: 40%; }
    .cover-meta { flex-direction: column; gap: 10px; }
    .overview { padding: 22px 18px 26px; }
    .overview__grid { grid-template-columns: 1fr; }
}

/* Layar lega — 5 kolom tile agar 12 slide muat rapi */
@media (min-width: 1700px) {
    .overview__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: opacity .2s ease !important; }
}
