:root{
    --primary:#2137d8;
    --primary-dark:#14298d;
    --navy:#102653;
    --text:#17233f;
    --muted:#65718d;
    --line:#e5eaf5;
    --surface:#ffffff;
    --bg:#f6f8ff;
    --shadow:0 18px 50px rgba(28,47,112,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
    color:var(--text);
    background:#fff;
}
a{color:inherit}
.container{
    width:min(1420px,calc(100% - 48px));
    margin-inline:auto;
}

/* =========================
   HEADER
   ========================= */
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(14px);
    border-bottom:1px solid #edf0f7;
}

.nav-wrap{
    min-height:104px;
    display:flex;
    align-items:center;
    gap:30px;
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:390px;
    flex:0 0 auto;
    text-decoration:none;
}

.brand-logo{
    display:block;
    width:76px;
    height:76px;
    flex:0 0 76px;
    object-fit:contain;
    object-position:center;
}

.brand-copy{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.brand-copy strong{
    color:#102b70;
    font-size:28px;
    line-height:1.05;
    font-weight:850;
    letter-spacing:-.5px;
}

.brand-copy small{
    display:block;
    max-width:310px;
    margin-top:6px;
    color:#4f5f7d;
    font-size:13px;
    line-height:1.35;
    font-weight:600;
}

.main-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    flex:1;
}

.main-nav a{
    position:relative;
    padding:14px 0;
    text-decoration:none;
    font-weight:650;
    white-space:nowrap;
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:2px;
    height:3px;
    border-radius:3px;
    background:var(--primary);
    transform:scaleX(0);
    transition:.2s;
}

.main-nav a:hover::after,
.main-nav a.active::after{
    transform:scaleX(1);
}

.main-nav a.active{color:var(--primary)}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid transparent;
    border-radius:14px;
    text-decoration:none;
    font-weight:750;
    transition:.2s;
}

.btn svg{
    width:21px;
    height:21px;
}

.btn-primary{
    color:#fff;
    background:linear-gradient(135deg,#263cde,#172bc7);
    box-shadow:0 12px 25px rgba(32,52,212,.22);
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 30px rgba(32,52,212,.28);
}

.btn-login-top{
    padding:17px 28px;
    white-space:nowrap;
}

.btn-large{
    padding:17px 27px;
    font-size:17px;
}

.btn-outline{
    background:#fff;
    border-color:#cfd7e9;
}

.btn-outline:hover{
    border-color:#9eb0db;
    background:#f8faff;
    transform:translateY(-2px);
}

.nav-toggle{
    display:none;
    margin-left:auto;
    padding:8px;
    border:0;
    background:none;
}

.nav-toggle span{
    display:block;
    width:26px;
    height:3px;
    margin:5px;
    border-radius:3px;
    background:#18306f;
}

/* =========================
   HERO
   ========================= */
.hero{
    overflow:hidden;
    background:
        radial-gradient(circle at 73% 15%,#dff0ff 0,transparent 34%),
        linear-gradient(135deg,#fff 0%,#f7faff 57%,#ecf5ff 100%);
}

.hero-grid{
    min-height:730px;
    display:grid;
    grid-template-columns:48% 52%;
    align-items:stretch;
}

.hero-copy{
    position:relative;
    z-index:2;
    padding:70px 32px 56px 0;
}

.eyebrow{
    display:inline-block;
    padding:9px 16px;
    border-radius:999px;
    background:#e7efff;
    color:#163dcc;
    font-size:14px;
    font-weight:800;
    letter-spacing:.3px;
}

.hero h1{
    margin:28px 0 20px;
    color:#10234a;
    font-size:58px;
    line-height:1.12;
    letter-spacing:-2px;
}

.hero h1 span{color:#1d3ed7}

.hero-lead{
    max-width:720px;
    margin:0 0 32px;
    color:#455372;
    font-size:19px;
    line-height:1.7;
}

.feature-mini-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.feature-mini{
    padding:22px;
    border:1px solid #dfe6f2;
    border-radius:20px;
    background:rgba(255,255,255,.92);
    box-shadow:0 12px 30px rgba(31,51,112,.07);
}

.feature-mini h3{
    margin:16px 0 7px;
    font-size:17px;
}

.feature-mini p{
    margin:0;
    color:#62708c;
    font-size:14px;
    line-height:1.55;
}

.mini-icon,
.stat-icon{
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#fff;
}

.mini-icon{
    width:58px;
    height:58px;
}

.mini-icon svg{
    width:30px;
    height:30px;
}

.blue{background:linear-gradient(135deg,#3095ff,#1568e7)}
.green{background:linear-gradient(135deg,#63c968,#2aab43)}
.amber{background:linear-gradient(135deg,#ffc24b,#ee9f09)}
.violet{background:linear-gradient(135deg,#8b62ef,#6840d8)}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:30px;
}

.hero-visual{
    position:relative;
    min-height:730px;
    overflow:hidden;
    border-radius:0 0 0 34px;
    background:#dfeaff;
}

.hero-visual img{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.visual-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        #f7faff 0%,
        rgba(247,250,255,.18) 16%,
        rgba(10,35,78,.02) 100%
    );
}

.visual-badge{
    position:absolute;
    right:28px;
    bottom:28px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px 18px;
    border:1px solid rgba(255,255,255,.75);
    border-radius:16px;
    background:rgba(255,255,255,.94);
    box-shadow:var(--shadow);
    font-weight:750;
}

.pulse{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#28b85b;
    box-shadow:0 0 0 6px rgba(40,184,91,.13);
}

/* =========================
   STATISTICS
   ========================= */
.stats-strip{
    position:relative;
    z-index:5;
    margin-top:-18px;
}

.stats-panel{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:24px 22px;
    border:1px solid #e4e9f4;
    border-radius:22px;
    background:#fff;
    box-shadow:var(--shadow);
}

.stats-panel article{
    display:flex;
    align-items:center;
    gap:18px;
    padding:5px 28px;
    border-right:1px solid #dfe5f1;
}

.stats-panel article:last-child{border-right:0}

.stat-icon{
    width:64px;
    height:64px;
    flex:0 0 64px;
}

.stat-icon svg{
    width:32px;
    height:32px;
}

.stats-panel article div:last-child{
    display:flex;
    flex-direction:column;
}

.stats-panel small{
    font-size:15px;
    font-weight:750;
}

.stats-panel strong{
    margin:2px 0;
    color:#10234a;
    font-size:30px;
}

.stats-panel span{
    color:#64718d;
    font-size:13px;
}

/* =========================
   ABOUT
   ========================= */
.section{
    padding:100px 0;
    background:#fff;
}

.section-grid{
    display:grid;
    grid-template-columns:1fr 1.15fr;
    align-items:start;
    gap:72px;
}

.section-kicker{
    color:var(--primary);
    font-size:13px;
    font-weight:800;
    letter-spacing:.8px;
    text-transform:uppercase;
}

.section h2{
    margin:15px 0 18px;
    color:#10234a;
    font-size:42px;
    line-height:1.2;
}

.section p{
    color:#63708c;
    font-size:18px;
    line-height:1.75;
}

.info-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.info-cards article{
    padding:28px;
    border:1px solid #e3e8f2;
    border-radius:20px;
    background:#fbfcff;
}

.info-cards strong{
    color:var(--primary);
    font-size:25px;
}

.info-cards h3{
    margin:18px 0 8px;
}

.info-cards p{
    margin:0;
    font-size:14px;
    line-height:1.6;
}

/* =========================
   FOOTER
   ========================= */
footer{
    padding:30px 0;
    background:#10234a;
    color:#fff;
}

.footer-wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    color:#fff;
    text-decoration:none;
}

.footer-brand img{
    display:block;
    width:64px;
    height:64px;
    flex:0 0 64px;
    border-radius:50%;
    object-fit:contain;
}

.footer-brand span{
    display:flex;
    flex-direction:column;
}

.footer-brand strong{
    font-size:22px;
}

.footer-brand small{
    max-width:340px;
    margin-top:4px;
    color:#c6d1e8;
    font-size:12px;
}

.footer-wrap p{
    margin:0;
    color:#c6d1e8;
    font-size:14px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media(max-width:1260px){
    .brand{
        min-width:330px;
    }

    .brand-copy strong{
        font-size:24px;
    }

    .brand-copy small{
        max-width:250px;
        font-size:12px;
    }

    .main-nav{
        gap:18px;
    }
}

@media(max-width:1100px){
    .nav-wrap{
        min-height:90px;
        flex-wrap:wrap;
    }

    .brand{
        min-width:auto;
    }

    .brand-logo{
        width:66px;
        height:66px;
        flex-basis:66px;
    }

    .nav-toggle{
        display:block;
    }

    .main-nav{
        display:none;
        order:4;
        width:100%;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:10px 0 20px;
    }

    .main-nav.open{
        display:flex;
    }

    .main-nav a{
        width:100%;
    }

    .btn-login-top{
        display:none;
    }

    .hero-grid{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .hero-copy{
        padding:52px 0 34px;
    }

    .hero-visual{
        min-height:570px;
        margin-bottom:40px;
        border-radius:24px;
    }

    .stats-panel{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-panel article:nth-child(2){
        border-right:0;
    }

    .stats-panel article:nth-child(-n+2){
        margin-bottom:18px;
        padding-bottom:18px;
        border-bottom:1px solid #dfe5f1;
    }

    .section-grid{
        grid-template-columns:1fr;
    }

    .info-cards{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:760px){
    .container{
        width:min(100% - 28px,1420px);
    }

    .nav-wrap{
        gap:14px;
    }

    .brand{
        gap:10px;
        max-width:calc(100% - 58px);
    }

    .brand-logo{
        width:58px;
        height:58px;
        flex-basis:58px;
    }

    .brand-copy strong{
        font-size:21px;
    }

    .brand-copy small{
        max-width:230px;
        font-size:11px;
    }

    .hero h1{
        font-size:44px;
    }

    .feature-mini-grid{
        grid-template-columns:1fr;
    }

    .hero-visual{
        min-height:470px;
    }

    .stats-panel{
        grid-template-columns:1fr;
    }

    .stats-panel article,
    .stats-panel article:nth-child(2){
        margin:0;
        padding:18px 12px;
        border-right:0;
        border-bottom:1px solid #dfe5f1;
    }

    .stats-panel article:last-child{
        border-bottom:0;
    }

    .info-cards{
        grid-template-columns:1fr;
    }

    .section{
        padding:72px 0;
    }

    .footer-wrap{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media(max-width:520px){
    .brand-copy small{
        display:none;
    }

    .brand-logo{
        width:52px;
        height:52px;
        flex-basis:52px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero-lead{
        font-size:16px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .btn-large{
        width:100%;
    }

    .hero-visual{
        min-height:390px;
    }

    .section h2{
        font-size:34px;
    }
}


/* =========================================================
   MOBILE LOGIN BUTTON + PREMIUM MICRO-INTERACTIONS
   Tambahan ini tidak mengubah struktur kandungan asal.
   ========================================================= */

.mobile-header-actions{
    display:none;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

.mobile-login-btn{
    position:relative;
    isolation:isolate;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:42px;
    padding:9px 14px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.35);
    border-radius:12px;
    color:#fff;
    background:linear-gradient(135deg,#2d49ed 0%,#152cc8 100%);
    box-shadow:0 9px 22px rgba(31,54,210,.24);
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
    transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.mobile-login-btn::before{
    content:"";
    position:absolute;
    z-index:-1;
    top:-50%;
    left:-75%;
    width:42%;
    height:200%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
    transform:rotate(22deg);
    animation:mobileButtonShine 3.8s ease-in-out infinite;
}

.mobile-login-btn svg{
    width:17px;
    height:17px;
    flex:0 0 17px;
}

.mobile-login-btn:hover,
.mobile-login-btn:focus-visible{
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 13px 27px rgba(31,54,210,.3);
    filter:saturate(1.08);
}

.mobile-login-btn:active{
    transform:scale(.97);
}

@keyframes mobileButtonShine{
    0%,58%{left:-75%}
    78%,100%{left:135%}
}

/* Haluskan header ketika scroll */
.site-header{
    transition:box-shadow .25s ease, background-color .25s ease;
}

.site-header.is-scrolled{
    box-shadow:0 10px 30px rgba(18,38,89,.1);
}

/* Animasi masuk kandungan */
.reveal{
    opacity:0;
    transition:
        opacity .75s cubic-bezier(.2,.7,.2,1),
        transform .75s cubic-bezier(.2,.7,.2,1);
    will-change:opacity,transform;
}

.reveal-left{transform:translateX(-34px)}
.reveal-right{transform:translateX(34px)}
.reveal-up{transform:translateY(32px)}

.reveal.is-visible{
    opacity:1;
    transform:translate(0,0);
}

/* Kad lebih hidup tanpa ubah susun atur */
.feature-mini,
.stats-panel article,
.info-cards article{
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.feature-mini:hover,
.info-cards article:hover{
    transform:translateY(-6px);
    border-color:#cbd7f5;
    box-shadow:0 18px 38px rgba(31,51,112,.12);
}

.stats-panel article:hover{
    transform:translateY(-3px);
}

/* Gerakan visual hero yang sangat perlahan */
.hero-visual img{
    animation:heroGentleZoom 18s ease-in-out infinite alternate;
}

@keyframes heroGentleZoom{
    from{transform:scale(1)}
    to{transform:scale(1.045)}
}

/* Ikon kad bernafas secara halus */
.feature-mini:hover .mini-icon,
.stats-panel article:hover .stat-icon{
    animation:iconSoftPulse .65s ease;
}

@keyframes iconSoftPulse{
    0%,100%{transform:scale(1)}
    50%{transform:scale(1.1)}
}

@media(max-width:1100px){
    .mobile-header-actions{
        display:flex;
    }

    .mobile-header-actions .nav-toggle{
        display:block;
        margin-left:0;
    }
}

@media(max-width:760px){
    .nav-wrap{
        flex-wrap:nowrap;
    }

    .mobile-header-actions{
        flex:0 0 auto;
    }

    .mobile-login-btn{
        min-height:40px;
        padding:8px 12px;
        border-radius:11px;
    }

    .mobile-login-btn span{
        display:inline;
    }

    .nav-toggle{
        flex:0 0 auto;
        margin-left:0;
    }

    .main-nav{
        position:absolute;
        top:100%;
        left:0;
        right:0;
        width:100%;
        padding:10px 20px 20px;
        border-top:1px solid #edf0f7;
        background:rgba(255,255,255,.98);
        box-shadow:0 20px 30px rgba(18,38,89,.12);
    }
}

@media(max-width:440px){
    .mobile-header-actions{
        gap:7px;
    }

    .mobile-login-btn{
        padding:8px 10px;
        font-size:12px;
    }

    .mobile-login-btn svg{
        width:15px;
        height:15px;
        flex-basis:15px;
    }

    .nav-toggle{
        padding:5px;
    }

    .nav-toggle span{
        width:23px;
    }
}

/* Hormati tetapan pengguna yang tidak mahu animasi */
@media(prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }

    .reveal{
        opacity:1;
        transform:none;
    }
}


/* =========================================================
   PATCH: BUANG LATAR BIRU LEMBUT DI SEBELAH KANAN HERO
   Struktur HTML dan susun atur asal dikekalkan.
   ========================================================= */

/* Jadikan latar utama hero putih sepenuhnya */
.hero{
    background:#ffffff !important;
}

/* Pastikan kolum gambar tidak menghasilkan lebihan ruang berwarna */
.hero-visual{
    background:#ffffff !important;
}

/* Gambar kekal memenuhi keseluruhan kolum kanan */
.hero-visual img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
}

/* Kekalkan hanya gradient lembut di sebelah kiri gambar untuk sambungan teks */
.visual-overlay{
    background:linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255,255,255,.16) 14%,
        rgba(255,255,255,0) 34%
    ) !important;
}

/* Buang sebarang pseudo-element latar tambahan jika ada */
.hero::before,
.hero::after,
.hero-visual::before,
.hero-visual::after{
    background:transparent !important;
}


/* =========================================================
   PATCH: NAIKKAN KAD STATISTIK
   Struktur asal paparan dikekalkan.
   ========================================================= */

/* Naikkan panel statistik supaya lebih rapat dan bertindih kemas dengan hero */
.stats-strip{
    margin-top:-58px !important;
}

/* Kekalkan panel di hadapan hero */
.stats-panel{
    position:relative;
    z-index:8;
}

/* Pelarasan tablet */
@media(max-width:1100px){
    .stats-strip{
        margin-top:-42px !important;
    }
}

/* Pelarasan telefon */
@media(max-width:760px){
    .stats-strip{
        margin-top:-24px !important;
    }
}


/* =========================================================
   PATCH FINAL: NAIKKAN KANDUNGAN HERO KIRI TANPA BERTINDIH
   Struktur HTML asal dikekalkan.
   ========================================================= */

/* Naikkan keseluruhan kandungan kiri secara terkawal */
.hero-copy{
    padding-top:42px !important;
    padding-bottom:86px !important;
}

/* Padatkan jarak supaya dua butang kekal jelas di atas panel statistik */
.hero h1{
    margin-top:20px !important;
    margin-bottom:16px !important;
}

.hero-lead{
    margin-bottom:24px !important;
}

.feature-mini-grid{
    gap:14px !important;
}

.feature-mini{
    padding:18px !important;
}

.feature-mini h3{
    margin-top:13px !important;
    margin-bottom:6px !important;
}

.hero-actions{
    margin-top:22px !important;
    position:relative;
    z-index:12;
}

/* Kurangkan sedikit tindihan statistik supaya butang tidak dilindungi */
.stats-strip{
    margin-top:-36px !important;
}

/* Pastikan panel statistik berada di lapisan betul tetapi tidak menutup butang */
.stats-panel{
    position:relative;
    z-index:8;
}

/* Tablet */
@media(max-width:1100px){
    .hero-copy{
        padding-top:34px !important;
        padding-bottom:52px !important;
    }

    .stats-strip{
        margin-top:-24px !important;
    }
}

/* Mobile */
@media(max-width:760px){
    .hero-copy{
        padding-top:30px !important;
        padding-bottom:34px !important;
    }

    .hero-actions{
        margin-top:18px !important;
    }

    .stats-strip{
        margin-top:0 !important;
    }
}


/* =========================================================
   HOMEPAGE PREMIUM V2
   Struktur asal dikekalkan. Penambahan hanya visual/animasi.
   ========================================================= */

body{
    overflow-x:hidden;
    background:
        linear-gradient(180deg,#ffffff 0%,#fbfcff 62%,#f4f7ff 100%);
}

/* Ambient glow */
.ambient{
    position:fixed;
    z-index:-1;
    border-radius:50%;
    filter:blur(80px);
    opacity:.28;
    pointer-events:none;
}
.ambient-one{
    width:380px;
    height:380px;
    top:90px;
    right:-120px;
    background:#7bc2ff;
}
.ambient-two{
    width:320px;
    height:320px;
    left:-120px;
    bottom:80px;
    background:#99a7ff;
}

/* Loader */
.page-loader{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#f7faff,#eef4ff);
    transition:opacity .55s ease,visibility .55s ease;
}
.page-loader.is-hidden{
    opacity:0;
    visibility:hidden;
}
.loader-card{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    padding:28px 34px;
    border:1px solid rgba(255,255,255,.9);
    border-radius:24px;
    background:rgba(255,255,255,.82);
    box-shadow:0 24px 65px rgba(30,55,130,.16);
    backdrop-filter:blur(16px);
}
.loader-card img{
    width:82px;
    height:82px;
    object-fit:contain;
}
.loader-card strong{
    color:#123276;
    font-size:23px;
}
.loader-card span{
    color:#6b7893;
    font-size:13px;
}
.loader-ring{
    position:absolute;
    width:102px;
    height:102px;
    top:18px;
    border:3px solid rgba(36,58,216,.12);
    border-top-color:#243ad8;
    border-radius:50%;
    animation:loaderSpin 1s linear infinite;
}
@keyframes loaderSpin{to{transform:rotate(360deg)}}

/* Glass premium header */
.site-header{
    border-bottom:1px solid rgba(222,229,244,.82);
    background:rgba(255,255,255,.88) !important;
    backdrop-filter:blur(18px) saturate(140%);
}
.site-header.is-scrolled{
    background:rgba(255,255,255,.96) !important;
    box-shadow:0 14px 34px rgba(20,42,102,.12);
}

/* Premium brand hover */
.brand-logo{
    transition:transform .35s ease,filter .35s ease;
}
.brand:hover .brand-logo{
    transform:rotate(-3deg) scale(1.045);
    filter:drop-shadow(0 8px 12px rgba(27,64,163,.18));
}
.brand-copy strong{
    background:linear-gradient(90deg,#0e2b6e,#2446d8);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

/* Hero polish */
.hero{
    position:relative;
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 15% 20%,rgba(72,109,255,.08),transparent 28%),
        radial-gradient(circle at 88% 15%,rgba(64,175,255,.08),transparent 24%);
}
.hero-copy{
    position:relative;
}
.hero-copy::before{
    content:"";
    position:absolute;
    left:-80px;
    top:110px;
    width:150px;
    height:150px;
    border:1px solid rgba(47,82,212,.08);
    border-radius:50%;
    box-shadow:0 0 0 24px rgba(47,82,212,.025);
    pointer-events:none;
}
.eyebrow{
    box-shadow:0 8px 20px rgba(31,64,189,.08);
}
.hero h1{
    text-shadow:0 2px 0 rgba(255,255,255,.4);
}
.hero-visual{
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.hero-visual::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(7,30,70,.08));
}
.visual-badge{
    animation:badgeFloat 3.2s ease-in-out infinite;
}
@keyframes badgeFloat{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-6px)}
}

/* CTA glow + ripple */
.btn-primary{
    position:relative;
    overflow:hidden;
}
.btn-primary::after{
    content:"";
    position:absolute;
    inset:-3px;
    z-index:-1;
    border-radius:inherit;
    background:linear-gradient(135deg,rgba(51,81,255,.45),rgba(30,53,211,.05));
    filter:blur(10px);
    opacity:.55;
}
.ripple-btn{
    position:relative;
    overflow:hidden;
}
.ripple-circle{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    animation:rippleEffect .62s linear;
    background:rgba(255,255,255,.42);
    pointer-events:none;
}
@keyframes rippleEffect{
    to{transform:scale(4);opacity:0}
}

/* Feature cards */
.feature-mini{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,251,255,.95));
}
.feature-mini::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(180deg,#2e50e5,#5ca7ff);
    opacity:0;
    transition:opacity .22s ease;
}
.feature-mini:hover::before{opacity:1}
.feature-mini:hover{
    transform:translateY(-8px) scale(1.01);
}

/* Statistics panel premium */
.stats-panel{
    border-color:rgba(218,226,243,.95);
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(14px);
}
.stats-panel article{
    position:relative;
}
.stats-panel article::after{
    content:"";
    position:absolute;
    left:28px;
    right:28px;
    bottom:-2px;
    height:2px;
    border-radius:2px;
    background:linear-gradient(90deg,transparent,#2f4be0,transparent);
    transform:scaleX(0);
    transition:transform .25s ease;
}
.stats-panel article:hover::after{
    transform:scaleX(1);
}
.counter{
    font-variant-numeric:tabular-nums;
}

/* About cards */
.info-cards article{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,#fff,#f9fbff);
}
.info-cards article::after{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    right:-60px;
    top:-60px;
    border-radius:50%;
    background:rgba(47,75,224,.06);
}

/* Scroll cue */
.scroll-cue{
    position:absolute;
    left:50%;
    bottom:18px;
    z-index:10;
    width:28px;
    height:46px;
    border:2px solid rgba(22,44,111,.35);
    border-radius:20px;
    transform:translateX(-50%);
}
.scroll-cue span{
    position:absolute;
    left:50%;
    top:8px;
    width:5px;
    height:8px;
    border-radius:5px;
    background:#2440d5;
    transform:translateX(-50%);
    animation:scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot{
    0%{opacity:0;transform:translate(-50%,0)}
    30%{opacity:1}
    100%{opacity:0;transform:translate(-50%,18px)}
}

/* Footer premium line */
footer{
    position:relative;
    overflow:hidden;
}
footer::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:3px;
    background:linear-gradient(90deg,#2d4be2,#43a7ff,#51c362,#ffad2f);
}

/* Mobile adjustments */
@media(max-width:1100px){
    .scroll-cue{display:none}
}
@media(max-width:760px){
    .page-loader .loader-card{
        padding:22px 28px;
    }
    .ambient{
        opacity:.18;
    }
    .hero-copy::before{
        display:none;
    }
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
    .page-loader{display:none}
    .visual-badge,
    .loader-ring,
    .scroll-cue span{
        animation:none !important;
    }
}


/* =========================================================
   PREMIUM V2 PATCH: TURUNKAN PANEL STATISTIK + GRADIENT
   Struktur asal HTML dikekalkan.
   ========================================================= */

/* Tambah ruang bawah hero supaya panel statistik turun */
.hero{
    padding-bottom:68px !important;
}

/* Turunkan keseluruhan seksyen statistik */
.stats-strip{
    position:relative;
    margin-top:18px !important;
    margin-bottom:26px !important;
    z-index:10;
}

/* Background lembut di belakang statistik */
.stats-strip::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-24px;
    bottom:-28px;
    z-index:-1;
    background:linear-gradient(
        180deg,
        rgba(244,248,255,0) 0%,
        rgba(239,245,255,.72) 34%,
        rgba(246,249,255,.95) 100%
    );
}

/* Kekalkan panel statistik kemas dan berada di depan */
.stats-panel{
    position:relative;
    z-index:2;
}

/* Desktop besar */
@media(min-width:1200px){
    .hero{
        padding-bottom:74px !important;
    }

    .stats-strip{
        margin-top:22px !important;
        margin-bottom:30px !important;
    }
}

/* Tablet */
@media(max-width:1100px){
    .hero{
        padding-bottom:46px !important;
    }

    .stats-strip{
        margin-top:16px !important;
        margin-bottom:22px !important;
    }
}

/* Mobile */
@media(max-width:760px){
    .hero{
        padding-bottom:28px !important;
    }

    .stats-strip{
        margin-top:14px !important;
        margin-bottom:18px !important;
    }

    .stats-strip::before{
        top:-12px;
        bottom:-18px;
    }
}


/* =========================================================
   HOMEPAGE PREMIUM - BALANCED ABOVE-THE-FOLD LAYOUT
   Naikkan semula statistik supaya kelihatan tanpa perlu scroll.
   Struktur HTML asal dikekalkan.
   ========================================================= */

/* Kurangkan ruang bawah hero */
.hero{
    padding-bottom:34px !important;
}

/* Naikkan panel statistik secara sederhana */
.stats-strip{
    position:relative;
    margin-top:-18px !important;
    margin-bottom:22px !important;
    z-index:10;
}

/* Selaraskan gradient supaya bergerak bersama panel */
.stats-strip::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-10px;
    bottom:-18px;
    z-index:-1;
    background:linear-gradient(
        180deg,
        rgba(244,248,255,0) 0%,
        rgba(239,245,255,.50) 38%,
        rgba(246,249,255,.88) 100%
    ) !important;
}

/* Pastikan panel statistik sentiasa jelas di atas gradient */
.stats-panel{
    position:relative;
    z-index:2;
}

/* Kekalkan scroll cue tanpa mengganggu panel */
.scroll-cue{
    bottom:8px !important;
}

/* Desktop besar */
@media(min-width:1200px){
    .hero{
        padding-bottom:30px !important;
    }

    .stats-strip{
        margin-top:-22px !important;
        margin-bottom:20px !important;
    }
}

/* Laptop / tablet */
@media(max-width:1100px){
    .hero{
        padding-bottom:24px !important;
    }

    .stats-strip{
        margin-top:-8px !important;
        margin-bottom:18px !important;
    }
}

/* Mobile */
@media(max-width:760px){
    .hero{
        padding-bottom:18px !important;
    }

    .stats-strip{
        margin-top:8px !important;
        margin-bottom:16px !important;
    }

    .stats-strip::before{
        top:-6px;
        bottom:-12px;
    }
}


/* =========================================================
   PREMIUM V2 SCROLL INDICATOR
   Pastikan indikator berada di hadapan kad statistik.
   Struktur HTML asal dikekalkan.
   ========================================================= */

.hero{
    position:relative;
    overflow:visible !important;
}

.hero-grid{
    position:relative;
    z-index:2;
}

/* Scroll indicator premium */
.scroll-cue{
    position:absolute !important;
    left:50% !important;
    bottom:-18px !important;
    transform:translateX(-50%) !important;

    width:38px !important;
    height:52px !important;

    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;

    border:2px solid rgba(36,64,213,.48) !important;
    border-radius:24px !important;
    background:rgba(255,255,255,.96) !important;

    box-shadow:
        0 12px 30px rgba(36,64,213,.24),
        0 0 0 7px rgba(36,64,213,.07) !important;

    z-index:999 !important;
    overflow:hidden;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.scroll-cue:hover{
    transform:translateX(-50%) translateY(-3px) !important;
    border-color:#2440d5 !important;
    box-shadow:
        0 16px 36px rgba(36,64,213,.32),
        0 0 0 9px rgba(36,64,213,.09) !important;
}

/* Titik animasi di dalam indikator */
.scroll-cue span{
    position:absolute !important;
    left:50% !important;
    top:9px !important;

    width:7px !important;
    height:11px !important;

    border-radius:999px !important;
    background:linear-gradient(180deg,#4d78ff,#203bd5) !important;

    transform:translateX(-50%) !important;
    box-shadow:0 4px 10px rgba(36,64,213,.25);

    animation:premiumScrollDot 1.7s cubic-bezier(.4,0,.2,1) infinite !important;
}

/* Ring glow lembut */
.scroll-cue::before{
    content:"";
    position:absolute;
    inset:4px;
    border-radius:20px;
    border:1px solid rgba(77,120,255,.13);
    pointer-events:none;
}

/* Anak panah kecil */
.scroll-cue::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:8px;

    width:7px;
    height:7px;

    border-right:2px solid #2440d5;
    border-bottom:2px solid #2440d5;

    transform:translateX(-50%) rotate(45deg);
    opacity:.78;
    animation:premiumScrollArrow 1.7s ease-in-out infinite;
}

@keyframes premiumScrollDot{
    0%{
        opacity:0;
        transform:translate(-50%,0);
    }
    20%{
        opacity:1;
    }
    65%{
        opacity:1;
        transform:translate(-50%,16px);
    }
    100%{
        opacity:0;
        transform:translate(-50%,23px);
    }
}

@keyframes premiumScrollArrow{
    0%,100%{
        opacity:.35;
        transform:translateX(-50%) translateY(-2px) rotate(45deg);
    }
    50%{
        opacity:1;
        transform:translateX(-50%) translateY(2px) rotate(45deg);
    }
}

/* Kad statistik kekal di bawah indikator */
.stats-strip{
    position:relative !important;
    z-index:10 !important;
}

.stats-panel{
    position:relative !important;
    z-index:2 !important;
}

/* Pastikan indikator tidak dipotong pada desktop */
@media(min-width:1101px){
    .hero{
        overflow:visible !important;
    }
}

/* Tablet dan mobile: sembunyikan supaya tidak mengganggu susun atur */
@media(max-width:1100px){
    .scroll-cue{
        display:none !important;
    }
}

/* Kurangkan animasi jika pengguna memilih reduced motion */
@media(prefers-reduced-motion:reduce){
    .scroll-cue span,
    .scroll-cue::after{
        animation:none !important;
    }
}


/* =========================================================
   PREMIUM V2: TAJUK HERO BAHARU
   "Sistem Pengurusan Bekalan Makanan Bermasak PPS"
   Struktur asal paparan dikekalkan.
   ========================================================= */

.hero-main-title{
    max-width:680px;
    margin-top:18px !important;
    margin-bottom:18px !important;

    color:#10234a;
    font-size:48px !important;
    line-height:1.12 !important;
    letter-spacing:-1.5px !important;
    font-weight:850;

    text-wrap:balance;
}

.hero-main-title span{
    color:#1d3ed7;
    white-space:nowrap;
}

.hero-main-title .title-no-break{
    color:#10234a;
    white-space:nowrap;
}

/* Desktop besar */
@media(min-width:1400px){
    .hero-main-title{
        max-width:720px;
        font-size:50px !important;
    }
}

/* Laptop */
@media(max-width:1260px){
    .hero-main-title{
        max-width:620px;
        font-size:44px !important;
        letter-spacing:-1.1px !important;
    }
}

/* Tablet */
@media(max-width:1100px){
    .hero-main-title{
        max-width:760px;
        font-size:46px !important;
    }
}

/* Mobile */
@media(max-width:760px){
    .hero-main-title{
        max-width:100%;
        margin-top:16px !important;
        margin-bottom:16px !important;
        font-size:38px !important;
        line-height:1.14 !important;
        letter-spacing:-.8px !important;
    }
}

/* Mobile kecil */
@media(max-width:520px){
    .hero-main-title{
        font-size:34px !important;
        line-height:1.16 !important;
    }
}


/* =========================================================
   POPUP LOGIN PREMIUM V2
   ========================================================= */

body.login-modal-open{
    overflow:hidden;
}

body.pwa-install-modal-open{
    overflow:hidden;
}

body.ios-install-modal-open{
    overflow:hidden;
}

.pwa-install-modal{
    position:fixed;
    inset:0;
    z-index:10010;
    display:grid;
    place-items:center;
    padding:24px;
    visibility:hidden;
    opacity:0;
    transition:opacity .25s ease,visibility .25s ease;
}

.pwa-install-modal.is-open{
    visibility:visible;
    opacity:1;
}

.pwa-install-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,22,54,.66);
    backdrop-filter:blur(12px) saturate(115%);
}

.pwa-install-dialog{
    position:relative;
    z-index:1;
    width:min(420px,100%);
    border:1px solid rgba(255,255,255,.8);
    border-radius:28px;
    background:#fff;
    box-shadow:0 30px 80px rgba(6,23,65,.34);
    transform:translateY(18px) scale(.98);
    transition:transform .3s ease;
}

.pwa-install-modal.is-open .pwa-install-dialog{
    transform:translateY(0) scale(1);
}

.pwa-install-dialog::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:6px;
    border-radius:28px 28px 0 0;
    background:linear-gradient(90deg,#1D4ED8,#2563EB,#38BDF8);
}

.pwa-install-close{
    position:absolute;
    top:16px;
    right:16px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #e1e7f4;
    border-radius:50%;
    background:#fff;
    color:#5f6d8a;
    cursor:pointer;
}

.pwa-install-close svg{
    width:18px;
    height:18px;
}

.pwa-install-content{
    padding:34px 34px 30px;
    text-align:center;
}

.pwa-install-icon{
    width:82px;
    height:82px;
    margin:0 auto 17px;
    border-radius:20px;
    box-shadow:0 10px 24px rgba(29,78,216,.18);
}

.pwa-install-kicker{
    margin:0 0 7px;
    color:#1D4ED8;
    font-size:11px;
    font-weight:800;
    letter-spacing:.13em;
}

.pwa-install-content h2{
    margin:0;
    color:#102a5c;
    font-size:26px;
}

.pwa-install-content > p:not(.pwa-install-kicker){
    margin:11px auto 22px;
    color:#52627f;
    line-height:1.65;
}

.pwa-install-actions{
    display:flex;
    gap:10px;
    justify-content:center;
}

.pwa-install-actions .btn{
    min-height:46px;
    flex:1;
}

.pwa-install-later{
    min-height:46px;
    flex:1;
    border:1px solid #d7e0f0;
    border-radius:12px;
    background:#fff;
    color:#41516f;
    font-weight:700;
    cursor:pointer;
}

.pwa-install-content small{
    display:block;
    margin-top:17px;
    color:#74829a;
    line-height:1.5;
}

.pwa-install-close:focus-visible,
.pwa-install-later:focus-visible,
.pwa-install-actions .btn:focus-visible{
    outline:3px solid rgba(37,99,235,.35);
    outline-offset:3px;
}

.ios-install-modal{
    position:fixed;
    inset:0;
    z-index:10010;
    display:grid;
    place-items:center;
    padding:24px;
    visibility:hidden;
    opacity:0;
    transition:opacity .25s ease,visibility .25s ease;
}

.ios-install-modal.is-open{
    visibility:visible;
    opacity:1;
}

.ios-install-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,22,54,.66);
    backdrop-filter:blur(12px) saturate(115%);
}

.ios-install-dialog{
    position:relative;
    z-index:1;
    width:min(430px,100%);
    max-height:calc(100dvh - 48px);
    overflow:auto;
    border:1px solid rgba(255,255,255,.8);
    border-radius:28px;
    background:#fff;
    box-shadow:0 30px 80px rgba(6,23,65,.34);
    transform:translateY(18px) scale(.98);
    transition:transform .3s ease;
}

.ios-install-modal.is-open .ios-install-dialog{
    transform:translateY(0) scale(1);
}

.ios-install-dialog::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:6px;
    border-radius:28px 28px 0 0;
    background:linear-gradient(90deg,#1D4ED8,#2563EB,#38BDF8);
}

.ios-install-close{
    position:absolute;
    top:16px;
    right:16px;
    z-index:1;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #e1e7f4;
    border-radius:50%;
    background:#fff;
    color:#5f6d8a;
    cursor:pointer;
}

.ios-install-close svg{
    width:18px;
    height:18px;
}

.ios-install-content{
    padding:32px 34px 30px;
    text-align:center;
}

.ios-install-icon{
    width:72px;
    height:72px;
    margin:0 auto 14px;
    border-radius:18px;
    box-shadow:0 10px 24px rgba(29,78,216,.18);
}

.ios-install-kicker{
    margin:0 0 7px;
    color:#1D4ED8;
    font-size:11px;
    font-weight:800;
    letter-spacing:.13em;
}

.ios-install-content h2{
    margin:0;
    color:#102a5c;
    font-size:26px;
}

.ios-install-content > p:not(.ios-install-kicker){
    margin:10px auto 19px;
    color:#52627f;
    line-height:1.6;
}

.ios-install-steps{
    display:grid;
    gap:10px;
    margin:0 0 22px;
    padding:0;
    list-style:none;
    text-align:left;
}

.ios-install-steps li{
    display:flex;
    gap:11px;
    align-items:flex-start;
    padding:10px 12px;
    border:1px solid #e2eaf7;
    border-radius:13px;
    color:#40516f;
    line-height:1.45;
}

.ios-install-steps li > span{
    flex:0 0 24px;
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#eaf1ff;
    color:#1D4ED8;
    font-size:12px;
    font-weight:800;
}

.ios-install-steps small{
    color:#71809c;
}

.ios-install-understood{
    width:100%;
    min-height:46px;
}

.ios-install-later{
    width:100%;
    margin-top:10px;
}

.ios-install-close:focus-visible,
.ios-install-understood:focus-visible{
    outline:3px solid rgba(37,99,235,.35);
    outline-offset:3px;
}

@media(max-width:430px){
    .pwa-install-modal{
        padding:16px 12px;
    }

    .pwa-install-content{
        padding:30px 22px 24px;
    }

    .pwa-install-content h2{
        font-size:23px;
    }

    .ios-install-modal{
        padding:16px 12px;
    }

    .ios-install-content{
        padding:29px 21px 24px;
    }

    .ios-install-content h2{
        font-size:23px;
    }
}

@media(prefers-reduced-motion:reduce){
    .pwa-install-modal,
    .pwa-install-dialog,
    .ios-install-modal,
    .ios-install-dialog{
        transition:none;
    }
}

.login-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display:grid;
    place-items:center;
    padding:24px;
    visibility:hidden;
    opacity:0;
    transition:opacity .28s ease,visibility .28s ease;
}

.login-modal.is-open{
    visibility:visible;
    opacity:1;
}

.login-modal-backdrop{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 50% 20%,rgba(52,87,240,.18),transparent 38%),
        rgba(8,22,54,.66);
    backdrop-filter:blur(14px) saturate(120%);
}

.login-modal-dialog{
    position:relative;
    z-index:1;
    width:min(520px,100%);
    max-height:calc(100vh - 48px);
    overflow:auto;
    border:1px solid rgba(255,255,255,.75);
    border-radius:30px;
    background:rgba(255,255,255,.97);
    box-shadow:
        0 34px 90px rgba(6,23,65,.34),
        0 0 0 1px rgba(55,83,213,.08);
    transform:translateY(28px) scale(.965);
    opacity:0;
    transition:
        transform .38s cubic-bezier(.2,.75,.2,1),
        opacity .3s ease;
}

.login-modal.is-open .login-modal-dialog{
    transform:translateY(0) scale(1);
    opacity:1;
}

.login-modal-dialog::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:6px;
    border-radius:30px 30px 0 0;
    background:linear-gradient(90deg,#2354f5,#6524e9,#23a9ff);
}

.login-modal-close{
    position:absolute;
    top:18px;
    right:18px;
    z-index:5;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid #e1e7f4;
    border-radius:50%;
    background:#fff;
    color:#5f6d8a;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(25,45,100,.08);
    transition:.2s ease;
}

.login-modal-close:hover{
    color:#1e3ed4;
    border-color:#bfcdf5;
    transform:rotate(7deg) scale(1.06);
}

.login-modal-close svg{
    width:20px;
    height:20px;
}

.login-card{
    position:relative;
    padding:38px 42px 34px;
    overflow:hidden;
}

.login-card::before,
.login-card::after{
    content:"";
    position:absolute;
    border-radius:50%;
    pointer-events:none;
}

.login-card::before{
    width:180px;
    height:180px;
    right:-90px;
    top:-90px;
    background:rgba(73,103,255,.07);
}

.login-card::after{
    width:130px;
    height:130px;
    left:-70px;
    bottom:-70px;
    background:rgba(121,49,232,.05);
}

.login-logo-wrap{
    position:relative;
    width:84px;
    height:84px;
    display:grid;
    place-items:center;
    margin:4px auto 18px;
}

.login-logo-wrap img{
    position:relative;
    z-index:2;
    width:74px;
    height:74px;
    object-fit:contain;
    filter:drop-shadow(0 10px 16px rgba(30,61,165,.16));
    animation:loginLogoFloat 3.6s ease-in-out infinite;
}

.login-logo-glow{
    position:absolute;
    inset:2px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(61,102,255,.16),rgba(128,52,232,.12));
    box-shadow:0 0 0 8px rgba(60,91,223,.04);
    animation:loginGlow 2.8s ease-in-out infinite;
}

@keyframes loginLogoFloat{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-5px)}
}

@keyframes loginGlow{
    0%,100%{transform:scale(.96);opacity:.65}
    50%{transform:scale(1.06);opacity:1}
}

.login-heading{
    position:relative;
    z-index:1;
    text-align:center;
    margin-bottom:24px;
}

.login-kicker{
    display:inline-flex;
    margin-bottom:8px;
    color:#3152d8;
    font-size:11px;
    font-weight:850;
    letter-spacing:1.3px;
}

.login-heading h2{
    margin:0;
    color:#10244e;
    font-size:30px;
    line-height:1.18;
    letter-spacing:-.8px;
}

.login-heading p{
    margin:9px 0 0;
    color:#6b7690;
    font-size:14px;
}

.login-form{
    position:relative;
    z-index:1;
}

.login-field{
    margin-bottom:17px;
}

.login-field label{
    display:block;
    margin-bottom:8px;
    color:#172849;
    font-size:13px;
    font-weight:750;
}

.input-shell{
    position:relative;
    display:flex;
    align-items:center;
    min-height:54px;
    border:1px solid #d7dfef;
    border-radius:14px;
    background:#fff;
    box-shadow:0 5px 14px rgba(20,40,90,.025);
    transition:.2s ease;
}

.input-shell:focus-within{
    border-color:#4967eb;
    box-shadow:
        0 0 0 4px rgba(55,87,226,.11),
        0 10px 24px rgba(33,59,145,.08);
    transform:translateY(-1px);
}

.input-shell > svg{
    width:21px;
    height:21px;
    margin-left:16px;
    color:#68799e;
    flex:0 0 21px;
}

.input-shell input{
    width:100%;
    min-width:0;
    padding:15px 14px;
    border:0;
    outline:0;
    background:transparent;
    color:#152748;
    font:inherit;
    font-size:14px;
}

.input-shell input::placeholder{
    color:#98a3bb;
}

.password-toggle{
    width:44px;
    height:44px;
    margin-right:5px;
    display:grid;
    place-items:center;
    border:0;
    background:transparent;
    color:#6d7c9c;
    cursor:pointer;
    border-radius:10px;
}

.password-toggle:hover{
    background:#f0f4ff;
    color:#2d4dd8;
}

.password-toggle svg{
    width:20px;
    height:20px;
}

.login-options{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:3px 0 20px;
    font-size:12px;
}

.login-options a{
    color:#3150d7;
    text-decoration:none;
    font-weight:700;
}

.remember-control{
    display:flex;
    align-items:center;
    gap:9px;
    color:#5f6b83;
    cursor:pointer;
}

.remember-control input{
    position:absolute;
    opacity:0;
}

.remember-box{
    width:18px;
    height:18px;
    display:grid;
    place-items:center;
    border:1.5px solid #c3cce0;
    border-radius:5px;
    background:#fff;
    transition:.2s;
}

.remember-control input:checked + .remember-box{
    border-color:#2f4de0;
    background:#2f4de0;
    box-shadow:0 0 0 3px rgba(47,77,224,.12);
}

.remember-control input:checked + .remember-box::after{
    content:"";
    width:7px;
    height:4px;
    margin-top:-2px;
    border-left:2px solid #fff;
    border-bottom:2px solid #fff;
    transform:rotate(-45deg);
}

.login-submit{
    position:relative;
    width:100%;
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:0;
    border-radius:14px;
    overflow:hidden;
    color:#fff;
    background:linear-gradient(100deg,#2b3fe1,#6d20e9);
    box-shadow:0 15px 32px rgba(74,39,220,.25);
    font:inherit;
    font-size:15px;
    font-weight:800;
    cursor:pointer;
    transition:.22s ease;
}

.login-submit::before{
    content:"";
    position:absolute;
    top:-80%;
    left:-30%;
    width:25%;
    height:260%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.58),transparent);
    transform:rotate(25deg);
    animation:loginButtonShine 3.5s ease-in-out infinite;
}

.login-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 19px 38px rgba(74,39,220,.33);
}

.login-submit svg{
    width:21px;
    height:21px;
}

@keyframes loginButtonShine{
    0%,58%{left:-30%}
    78%,100%{left:120%}
}

.login-security{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:14px;
    color:#78839a;
    font-size:11px;
}

.security-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#2abb61;
    box-shadow:0 0 0 5px rgba(42,187,97,.11);
}

.demo-accounts{
    margin-top:18px;
    border-top:1px solid #e8edf6;
    padding-top:14px;
}

.demo-accounts summary{
    cursor:pointer;
    list-style:none;
    text-align:center;
    color:#4251c8;
    font-size:12px;
    font-weight:750;
}

.demo-accounts summary::-webkit-details-marker{
    display:none;
}

.demo-accounts summary::before{
    content:"▸";
    margin-right:6px;
    transition:transform .2s;
}

.demo-accounts[open] summary::before{
    display:inline-block;
    transform:rotate(90deg);
}

.demo-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    margin-top:12px;
}

.demo-grid button{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px;
    border:1px solid #e1e7f2;
    border-radius:11px;
    background:#f9fbff;
    color:#1e3155;
    cursor:pointer;
    text-align:left;
    transition:.2s ease;
}

.demo-grid button:hover{
    border-color:#b7c5ef;
    background:#f1f5ff;
    transform:translateX(3px);
}

.demo-grid button strong{
    font-size:12px;
}

.demo-grid button span{
    color:#71809c;
    font-size:11px;
}

@media(max-width:600px){
    .login-modal{
        padding:18px 12px;
        align-items:center;
    }

    .login-modal-dialog{
        width:min(100%, 520px);
        max-height:calc(100dvh - 36px);
        border-radius:26px;
        transform:translateY(12px) scale(.985);
    }

    .login-modal-dialog::before{
        border-radius:26px;
    }

    .login-card{
        padding:30px 20px 24px;
    }

    .login-heading h2{
        font-size:25px;
    }

    .login-options{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(prefers-reduced-motion:reduce){
    .login-logo-wrap img,
    .login-logo-glow,
    .login-submit::before{
        animation:none !important;
    }
}


/* Ralat login daripada proses autentikasi sebenar */
.login-alert{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:3px;
    margin:-8px 0 18px;
    padding:12px 14px;
    border:1px solid #fecaca;
    border-radius:12px;
    background:#fff1f2;
    color:#9f1239;
    font-size:12px;
    line-height:1.45;
}
.login-alert strong{font-size:13px}


/* =========================================================
   NOTIFIKASI LOG KELUAR BERJAYA
   ========================================================= */
.logout-toast{
    position:fixed;
    top:118px;
    right:28px;
    z-index:25000;
    width:min(380px,calc(100% - 32px));
    display:flex;
    align-items:center;
    gap:13px;
    padding:16px 48px 16px 16px;
    border:1px solid rgba(129,214,164,.7);
    border-radius:18px;
    background:rgba(255,255,255,.96);
    box-shadow:0 22px 55px rgba(17,67,45,.18);
    backdrop-filter:blur(16px) saturate(135%);
    opacity:0;
    transform:translateX(38px) scale(.98);
    animation:logoutToastIn .45s cubic-bezier(.2,.75,.2,1) .15s forwards;
}
.logout-toast.is-leaving{
    animation:logoutToastOut .34s ease forwards;
}
.logout-toast-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#0e8544;
    background:linear-gradient(135deg,#dcfce7,#bbf7d0);
    box-shadow:0 0 0 7px rgba(34,197,94,.08);
    font-size:21px;
    font-weight:900;
}
.logout-toast-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
}
.logout-toast-copy strong{
    color:#153c2a;
    font-size:14px;
}
.logout-toast-copy span{
    color:#66786f;
    font-size:12px;
    line-height:1.45;
}
.logout-toast-close{
    position:absolute;
    top:10px;
    right:10px;
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:transparent;
    color:#718078;
    font-size:20px;
    cursor:pointer;
}
.logout-toast-close:hover{
    background:#f0f7f3;
    color:#176a40;
}
@keyframes logoutToastIn{
    to{opacity:1;transform:translateX(0) scale(1)}
}
@keyframes logoutToastOut{
    to{opacity:0;transform:translateX(34px) scale(.98)}
}
@media(max-width:600px){
    .logout-toast{
        top:92px;
        left:16px;
        right:16px;
        width:auto;
    }
}

/* =========================================================
   LANDING PAGE BALANCE PATCH 2026-07-19
   Final layer for premium responsive layout.
   ========================================================= */
body{
    overflow-x:hidden;
}

#utama,
#tentang,
#ciri,
#manfaat,
#hubungi{
    scroll-margin-top:96px;
}

.site-header{
    box-shadow:0 1px 0 rgba(15,23,42,.05);
}

.nav-wrap{
    min-height:84px !important;
    gap:22px;
}

.brand{
    min-width:300px;
    gap:12px;
}

.brand-logo{
    width:64px !important;
    height:64px !important;
    flex-basis:64px !important;
}

.brand-copy strong{
    font-size:24px;
}

.brand-copy small{
    max-width:280px;
    margin-top:4px;
    font-size:12px;
}

.main-nav{
    gap:18px;
}

.main-nav a{
    padding:10px 0;
    font-size:15px;
}

.btn-login-top{
    padding:13px 22px;
}

.hero{
    padding:0 0 30px !important;
    overflow:clip !important;
    background:linear-gradient(135deg,#fff 0%,#f8fbff 58%,#eef6ff 100%) !important;
}

.hero-grid{
    min-height:auto !important;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.98fr);
    grid-template-areas:"copy visual";
    gap:36px;
    align-items:center;
    padding-top:38px;
    padding-bottom:22px;
}

.hero-copy{
    grid-area:copy;
    padding:0 !important;
}

.eyebrow{
    max-width:100%;
    padding:7px 12px;
    font-size:12px;
    line-height:1.35;
    white-space:normal;
}

.hero-main-title{
    max-width:680px;
    margin:20px 0 18px !important;
    font-size:clamp(2.2rem,4vw,4.3rem) !important;
    line-height:1.1 !important;
    letter-spacing:-.8px !important;
    text-wrap:balance;
    overflow-wrap:normal;
}

.hero-main-title .title-no-break{
    white-space:normal;
}

.hero-main-title span:not(.title-no-break){
    color:#1d3ed7;
}

.hero-lead{
    max-width:620px;
    margin-bottom:26px !important;
    color:#50617e;
    font-size:17px;
    line-height:1.65;
}

.hero-actions{
    margin-top:0 !important;
    margin-bottom:34px !important;
    gap:16px;
}

.btn-large{
    min-height:50px;
    padding:14px 22px;
    font-size:15px;
}

.feature-mini-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:16px !important;
}

.feature-mini{
    min-height:100%;
    padding:18px !important;
    border-radius:16px;
}

.mini-icon{
    width:48px;
    height:48px;
}

.mini-icon svg{
    width:25px;
    height:25px;
}

.feature-mini h3{
    margin:12px 0 6px !important;
    font-size:16px;
}

.feature-mini p{
    font-size:13px;
    line-height:1.45;
}

.hero-visual{
    grid-area:visual;
    width:100%;
    min-height:0 !important;
    max-height:660px;
    aspect-ratio:3/2;
    margin:0 !important;
    border-radius:26px;
    overflow:hidden;
    box-shadow:0 22px 50px rgba(31,51,112,.14);
}

.hero-visual picture{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
}

.hero-visual img{
    position:absolute;
    inset:0;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
}

.visual-overlay{
    background:linear-gradient(90deg,rgba(255,255,255,.18),rgba(255,255,255,0) 38%) !important;
}

.visual-badge{
    top:22px;
    right:22px;
    bottom:auto;
    left:auto;
    z-index:3;
    padding:10px 16px;
    border:1px solid rgba(222,229,244,.92);
    border-radius:999px;
    background:rgba(255,255,255,.94);
    box-shadow:0 12px 28px rgba(31,51,112,.14);
    font-size:13px;
    line-height:1.25;
    white-space:nowrap;
    backdrop-filter:blur(8px);
}

.stats-strip{
    margin-top:12px !important;
    margin-bottom:0 !important;
}

.stats-strip::before,
.scroll-cue{
    display:none !important;
}

.stats-panel{
    grid-template-columns:repeat(4,minmax(0,1fr));
    padding:18px;
    border-radius:18px;
}

.stats-panel article{
    gap:14px;
    padding:8px 18px;
}

.stat-icon{
    width:52px;
    height:52px;
    flex-basis:52px;
}

.section{
    padding:82px 0;
}

.section-grid{
    gap:48px;
}

.section h2{
    max-width:620px;
    font-size:clamp(2rem,3vw,2.65rem);
}

.section p{
    max-width:650px;
    font-size:16px;
}

.info-cards article{
    padding:22px;
    border-radius:16px;
}

footer{
    padding:24px 0;
}

.footer-wrap{
    display:grid;
    grid-template-columns:minmax(260px,1fr) auto auto;
    align-items:center;
}

.footer-brand img{
    width:54px;
    height:54px;
    flex-basis:54px;
}

.footer-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:12px 16px;
}

.footer-links a{
    color:#dbe7ff;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
}

.footer-links a:hover,
.footer-links a:focus-visible{
    color:#fff;
    text-decoration:underline;
}

.btn:focus-visible,
.main-nav a:focus-visible,
.footer-links a:focus-visible,
.brand:focus-visible,
.nav-toggle:focus-visible{
    outline:3px solid rgba(37,99,235,.28);
    outline-offset:4px;
}

@media(max-width:1280px){
    .container{
        width:min(100% - 40px,1420px);
    }

    .brand{
        min-width:260px;
    }

    .brand-copy small{
        display:none;
    }

    .main-nav{
        gap:14px;
    }

    .main-nav a{
        font-size:14px;
    }

    .hero-grid{
        grid-template-columns:minmax(0,1fr) minmax(0,.92fr);
        gap:28px;
        padding-top:30px;
    }
}

@media(max-width:1100px){
    .nav-wrap{
        min-height:76px !important;
        flex-wrap:nowrap;
    }

    .brand{
        min-width:0;
        max-width:calc(100% - 190px);
    }

    .brand-logo{
        width:58px !important;
        height:58px !important;
        flex-basis:58px !important;
    }

    .brand-copy strong{
        font-size:22px;
    }

    .mobile-header-actions{
        display:flex;
    }

    .main-nav{
        position:absolute;
        top:100%;
        left:20px;
        right:20px;
        width:auto;
        display:none;
        padding:10px;
        border:1px solid #e8edf6;
        border-radius:18px;
        background:#fff;
        box-shadow:0 22px 45px rgba(18,38,89,.16);
    }

    .main-nav.open{
        display:flex;
    }

    .main-nav a{
        min-height:44px;
        padding:12px 14px;
        border-radius:12px;
    }

    .main-nav a:hover,
    .main-nav a.active{
        background:#f3f6ff;
    }

    .main-nav a::after{
        display:none;
    }

    body.nav-open{
        overflow:hidden;
    }

    .hero-grid{
        grid-template-columns:1fr;
        grid-template-areas:"copy" "visual";
        gap:24px;
        padding-top:34px;
    }

    .hero-copy{
        max-width:820px;
    }

    .hero-actions{
        margin-bottom:30px !important;
    }

    .hero-visual{
        max-height:none;
        aspect-ratio:3/2;
    }

    .visual-badge{
        top:18px;
        right:18px;
        bottom:auto;
        padding:9px 13px;
        font-size:12.5px;
    }

    .feature-mini-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }

    .stats-panel{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .stats-panel article{
        border-right:0;
    }

    .section-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){
    #utama,
    #tentang,
    #ciri,
    #manfaat,
    #hubungi{
        scroll-margin-top:82px;
    }

    .container{
        width:min(100% - 40px,1420px);
    }

    .brand{
        max-width:calc(100% - 128px);
    }

    .brand-logo{
        width:50px !important;
        height:50px !important;
        flex-basis:50px !important;
    }

    .brand-copy strong{
        font-size:20px;
    }

    .mobile-login-btn span{
        display:none;
    }

    .mobile-login-btn{
        width:42px;
        min-height:42px;
        padding:0;
    }

    .nav-toggle{
        width:42px;
        height:42px;
        border-radius:12px;
        background:#f4f7ff;
    }

    .hero{
        padding-bottom:18px !important;
    }

    .hero-grid{
        padding-top:26px;
        gap:20px;
    }

    .hero-main-title{
        font-size:clamp(2.05rem,10vw,2.75rem) !important;
        line-height:1.13 !important;
    }

    .hero-lead{
        font-size:16px;
        line-height:1.62;
    }

    .hero-actions{
        flex-direction:column;
        margin-bottom:24px !important;
        gap:12px;
    }

    .hero-actions .btn{
        width:100%;
    }

    .hero-visual{
        aspect-ratio:3/2;
        border-radius:18px;
    }

    .visual-badge{
        display:flex;
        top:12px;
        right:12px;
        bottom:auto;
        left:12px;
        width:auto;
        justify-content:center;
        padding:8px 12px;
        border-radius:14px;
        font-size:12px;
        white-space:normal;
        text-align:center;
    }

    .feature-mini-grid{
        grid-template-columns:1fr !important;
        gap:12px !important;
    }

    .stats-panel{
        grid-template-columns:1fr;
        padding:12px;
    }

    .stats-panel article,
    .stats-panel article:nth-child(-n+2){
        margin:0;
        padding:14px 8px;
        border-right:0;
        border-bottom:1px solid #dfe5f1;
    }

    .stats-panel article:last-child{
        border-bottom:0;
    }

    .section{
        padding:62px 0;
    }

    .info-cards{
        grid-template-columns:1fr;
    }

    .footer-wrap{
        grid-template-columns:1fr;
        gap:16px;
    }

    .footer-links{
        justify-content:flex-start;
    }
}

@media(max-width:430px){
    .container{
        width:min(100% - 36px,1420px);
    }

    .brand-copy strong{
        font-size:18px;
    }

    .hero-grid{
        padding-top:22px;
    }

    .eyebrow{
        font-size:11px;
    }

    .hero-main-title{
        font-size:2.05rem !important;
    }

    .hero-visual{
        aspect-ratio:4/3;
    }

}
