/* ==========================================================================
   SIBUKA - Beranda (landing page)
   Header & background diam; hanya kotak bergradasi yang bergerak saat scroll.
   ========================================================================== */

body.landing {
    height: 100dvh;
    overflow: hidden;
    background: #08182b;
    --header-h: 96px;
}

/* ------------------------------ Latar belakang ------------------------- */
.landing-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #bfdcf9 0%, #8fbdea 28%, #3f7bb5 52%, #17456f 78%, #0d2b48 100%);
}
/* Foto sekolah asli (assets/bg-sekolah.jpg) - satu lapisan, digeser halus saat scroll */
.landing-bg .parallax-far {
    position: absolute;
    inset: -6% 0 -6% 0;
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: 32% 62%;
    display: block;
    will-change: transform;
    pointer-events: none;
}
.landing-bg .vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 92% at 50% 40%, rgba(6, 22, 40, .08) 26%, rgba(6, 22, 40, .44) 100%);
}

/* --------------------------------- Header ----------------------------- */
.landing-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 40;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .6rem 1.1rem;
    background: linear-gradient(180deg, #eef7ff 0%, #cfe5fa 62%, #b6d5f4 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 8px 26px rgba(6, 22, 40, .32);
}
.landing-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.landing-brand:hover { text-decoration: none; }
.landing-brand .emblem { width: 64px; height: 64px; flex: 0 0 64px; filter: drop-shadow(0 3px 6px rgba(6, 22, 40, .3)); }
.landing-brand .brand-text strong { display: block; font-size: 1.85rem; font-weight: 900; color: #0f2a4a; letter-spacing: .02em; line-height: 1; }
.landing-brand .brand-text small { display: block; font-size: .74rem; font-weight: 600; color: #24466e; letter-spacing: .01em; }
.landing-badges { display: flex; align-items: center; gap: .55rem; margin-left: .35rem; }
.landing-badges img { height: 42px; width: auto; display: block; object-fit: contain; }
.landing-header .spacer { flex: 1; }

.landing-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
    background: rgba(15, 42, 74, .55);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    padding: .28rem;
    backdrop-filter: blur(6px);
}
.landing-nav a {
    display: block;
    padding: .52rem .82rem;
    border-radius: 10px;
    color: #ffffff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
    text-decoration: none;
    transition: background .18s ease, color .18s ease;
}
.landing-nav a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
.landing-nav a.active { background: #ffffff; color: #0f2a4a; box-shadow: 0 3px 10px rgba(6, 22, 40, .25); }

.btn-login-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .66rem 1.05rem;
    border-radius: 13px;
    background: linear-gradient(135deg, #12325a, #0b2138);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #ffffff;
    font-weight: 800;
    font-size: .84rem;
    letter-spacing: .04em;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(6, 22, 40, .3);
}
.btn-login-cta:hover { text-decoration: none; filter: brightness(1.12); }

.landing-burger {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(15, 42, 74, .25);
    background: rgba(255, 255, 255, .8);
    cursor: pointer;
    place-items: center;
    padding: 0;
}
.landing-burger svg { width: 24px; height: 24px; fill: #0f2a4a; }

/* ---------------------------- Area yang di-scroll --------------------- */
.landing-scroll {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    padding: 1.5rem 64px 3rem;
    scrollbar-width: none;
}
.landing-scroll::-webkit-scrollbar { width: 0; height: 0; }
.landing-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.6rem; }

/* Kotak bergradasi (kartu utama tiap bagian) */
.glass-card {
    /* Lebih transparan agar latar sekolah tetap terlihat, tetapi teks tetap terbaca. */
    background: linear-gradient(160deg, rgba(9, 28, 49, .70) 0%, rgba(13, 38, 67, .62) 55%, rgba(18, 50, 86, .58) 100%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 20px;
    padding: 2.1rem 2rem;
    box-shadow: 0 24px 60px rgba(4, 16, 30, .40), inset 0 1px 0 rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px) saturate(120%);
    color: #eef4fc;
    scroll-margin-top: 1.2rem;
}
.glass-card h2 { color: #ffffff; }
.glass-card h3 { color: #ffffff; }
.glass-card p { color: #cfe0f4; }

/* Animasi halus saat bagian masuk ke layar */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .75s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-child { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .6s ease, transform .65s cubic-bezier(.22, .61, .36, 1); transition-delay: var(--delay, 0ms); }
.in-view .reveal-child { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-child { opacity: 1 !important; transform: none !important; transition: none !important; }
    .landing-scroll { scroll-behavior: auto; }
}

/* ---------------------------- Bagian: Login --------------------------- */
.sec-login {
    text-align: center;
    /* Lebih pekat daripada kartu lain: bagian login harus paling mudah dibaca
       karena memuat judul besar + kolom isian (permintaan user 23/11/2026). */
    background: linear-gradient(160deg, rgba(6, 20, 36, .94) 0%, rgba(10, 29, 52, .88) 55%, rgba(16, 42, 74, .82) 100%);
}
/* Judul utama = satu kata "TRANSFORMING" (permintaan user 23/11/2026): kalimat
   "SISTEM INFORMASI SEKOLAH" sudah ada pada label kecil di atasnya, jadi judul
   besar dibuat satu kata saja agar tidak terbaca ganda. */
.login-headline {
    margin: 0 0 .55rem;
    font-size: clamp(2.3rem, 6.6vw, 4.05rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: .05em;
    color: #ffffff;
    text-wrap: balance;
    text-shadow: 0 10px 28px rgba(4, 16, 30, .50), 0 0 26px rgba(147, 197, 253, .18);
}
.login-headline-2 {
    max-width: 34ch;
    margin: 0 auto 1.15rem;
    font-size: clamp(.95rem, 1.9vw, 1.16rem);
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: .01em;
    text-wrap: balance;
    background: linear-gradient(92deg, #c7e3ff 0%, #8ec5ff 46%, #e3b8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.login-welcome { font-size: 1.06rem; font-weight: 700; color: #ffffff; margin: 0 0 .15rem; }
.login-welcome-sub { font-size: .9rem; color: #a9c6e6; margin: 0 0 1.4rem; }
.login-form { max-width: 540px; margin: 0 auto; text-align: left; }
.field-glass {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    padding: .82rem 1rem;
    margin-bottom: .85rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field-glass:focus-within { border-color: #6aa8f5; box-shadow: 0 0 0 4px rgba(74, 141, 240, .18); }
.field-glass svg { width: 22px; height: 22px; fill: #bcd4ee; flex: 0 0 22px; }
.field-glass input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    padding: .1rem 0;
}
.field-glass input:focus { outline: none; box-shadow: none; }
.field-glass input::placeholder { color: rgba(226, 238, 252, .62); }
.eye-btn { background: none; border: 0; padding: .2rem; cursor: pointer; display: grid; place-items: center; }
.eye-btn svg { width: 22px; height: 22px; fill: #bcd4ee; }
.field-glass.plain { padding: .82rem 1rem; }
.login-row { display: flex; justify-content: flex-end; margin: .1rem 0 .9rem; }
.login-row button {
    background: none; border: 0; cursor: pointer; padding: 0;
    color: #9dc4f0; font-size: .86rem; font-weight: 600; font-family: inherit;
}
.login-row button:hover { color: #cfe4ff; text-decoration: underline; }
.btn-masuk {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 1rem 1rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .1em;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 14px 32px rgba(37, 99, 235, .38);
    transition: transform .14s ease, box-shadow .2s ease;
}
.btn-masuk:hover { transform: translateY(-1px); box-shadow: 0 18px 38px rgba(37, 99, 235, .46); }
.btn-masuk:active { transform: translateY(1px); }
.btn-masuk svg { width: 22px; height: 22px; fill: #fff; }
.login-note { font-size: .84rem; color: #a9c6e6; margin: .8rem auto 0; max-width: 520px; text-align: center; }
.login-alert {
    max-width: 540px;
    margin: 0 auto 1rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    font-size: .9rem;
    text-align: left;
    border: 1px solid;
}
.login-alert.err { background: rgba(220, 38, 38, .16); border-color: rgba(248, 160, 160, .5); color: #ffd9d9; }
.login-alert.ok { background: rgba(16, 185, 129, .16); border-color: rgba(140, 233, 194, .5); color: #d3f7e7; }

.sec-login .brand-echo {
    /* Disamakan lebarnya dengan kotak isian username/password (540px) dan dipusatkan
       supaya seluruh blok teks sejajar rapi dengan kotak tersebut. */
    max-width: 540px;
    margin: 2.4rem auto 0;
    text-align: center;
}
.brand-echo .echo-name {
    font-size: clamp(2rem, 5.6vw, 3.2rem);
    font-weight: 900;
    letter-spacing: .16em;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
.brand-echo .echo-sub { font-size: 1rem; font-weight: 700; color: #dbe9fb; margin: .1rem 0 1rem; }
.brand-echo p {
    font-size: .93rem;
    line-height: 1.75;
    color: #cfe0f4;
    max-width: none;
    margin: 0 auto .9rem;
}
.check-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: block;
    text-align: center;
}
.check-list li {
    display: block;
    font-size: .92rem;
    color: #dbe9fb;
    line-height: 1.6;
    margin-bottom: .45rem;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list .tick { color: #7ce8b0; font-weight: 800; margin-right: .45rem; }

/* Halaman lain di dalam mode gelap */
.glass-card .stat {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: none;
}
.glass-card .stat-label { color: #a9c6e6; }
.glass-card .stat-value { color: #ffffff; }
.glass-card .stat-note { color: #9fb8d6; }
.glass-card .stat-ico { background: rgba(255, 255, 255, .1); }
.glass-card table.data th, .glass-card table.data td { border-color: rgba(255, 255, 255, .12); color: #e6eefb; }
.glass-card table.data thead th { background: rgba(255, 255, 255, .08); color: #cfe4ff; }
.glass-card table.data tbody tr:hover { background: rgba(255, 255, 255, .05); }
.glass-card .badge-netral { background: rgba(255, 255, 255, .12); color: #dbe9fb; border-color: rgba(255, 255, 255, .2); }
.glass-card .badge-info { background: rgba(59, 130, 246, .22); color: #cfe4ff; border-color: rgba(147, 197, 253, .35); }
.glass-card .empty-state { color: #a9c6e6; }
.glass-card .empty-state h3, .glass-card .empty-state h2 { color: #ffffff; }
.glass-card .btn-light { background: rgba(255, 255, 255, .12); color: #ffffff; border-color: rgba(255, 255, 255, .28); }
.glass-card .btn-light:hover { background: rgba(255, 255, 255, .2); }
.glass-card .mono { color: #cfe4ff; }
.glass-card .tabs a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #dbe9fb; }
.glass-card .tabs a.active { background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-color: transparent; color: #fff; }
.glass-card .info-card, .glass-card .access-card, .glass-card .announce {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: none;
    color: #e6eefb;
}
.glass-card .info-card p, .glass-card .access-card p, .glass-card .announce p { color: #c3d6ee; }
.glass-card .info-card .ico { background: rgba(255, 255, 255, .12); }
.glass-card .access-card { border-left: 4px solid #4d8ef7; }
.glass-card .access-card h3 { color: #ffffff; }
.glass-card .info-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(4, 16, 30, .4); }
.glass-card a { color: #9dc4f0; }
.glass-card a:hover { color: #cfe4ff; }
.glass-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 1.5rem 0; }

.section-title { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.section-title h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.95rem); }
.section-title .eyebrow { color: #7fb3f2; margin: 0; }
.section-title p { margin: 0; color: #a9c6e6; font-size: .88rem; }

/* ------------------------ Jadwal pelajaran (publik) ------------------- */
.jadwal-hari { margin-bottom: 1.6rem; }
.jadwal-hari:last-child { margin-bottom: 0; }
.jadwal-hari-head {
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    padding: .6rem .9rem; margin-bottom: .6rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, .28), rgba(29, 78, 216, .18));
    border: 1px solid rgba(147, 197, 253, .3);
}
.jadwal-hari-head h3 { margin: 0; font-size: 1.02rem; }
.jadwal-hari-head .badge { background: #ffffff; color: #0f2a4a; border-color: transparent; }
tr.baris-jeda td { background: rgba(255, 255, 255, .05); color: #a9c6e6; font-style: italic; text-align: center; letter-spacing: .06em; font-size: .78rem; }
tr.baris-kegiatan td { background: rgba(243, 212, 137, .1); }
tr.baris-sekarang td { box-shadow: inset 3px 0 0 #7ce8b0; }
.kelas-cell strong { display: block; font-size: .88rem; }
.kelas-cell small { color: #9fb8d6; font-size: .74rem; }
.kelas-cell.kosong { color: #6f8bab; }

/* ------------------------------ Panel panah --------------------------- */
/* Panah atas/bawah menggulir sedikit (seperti scroll bar Microsoft Word) dan
   kotak gulir (track + thumb) memanjang dari atas sampai bawah halaman serta
   dapat diseret, supaya isi beranda tetap terbaca walau tanpa tetikus. */
.scroll-rail {
    position: fixed;
    right: 8px;
    top: var(--header-h);
    bottom: 0;
    padding: .45rem 0 .3rem;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
}
.rail-btn {
    width: 38px; height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(9, 28, 48, .62);
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    backdrop-filter: blur(6px);
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.rail-btn svg { width: 20px; height: 20px; fill: currentColor; }
.rail-btn:hover { background: rgba(59, 130, 246, .8); transform: scale(1.06); }
.rail-btn[disabled] { opacity: .35; cursor: default; transform: none; }
.rail-track {
    width: 10px;
    flex: 1 1 auto;
    min-height: 90px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
    border: 1px solid rgba(255, 255, 255, .22);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    touch-action: none;
}
.rail-thumb {
    position: absolute; left: 0; width: 100%;
    height: 30%;
    min-height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #bfdbfe, #2563eb);
    box-shadow: 0 0 0 1px rgba(9, 28, 48, .25);
    transition: top .12s linear, background .15s ease;
    cursor: grab;
}
.rail-thumb.dragging { transition: none; background: linear-gradient(180deg, #ffffff, #3b82f6); cursor: grabbing; }
.version-tag {
    position: fixed;
    right: 3.4rem;
    bottom: .9rem;
    z-index: 46;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    pointer-events: none;
    text-shadow: 0 1px 6px rgba(4, 16, 30, .6);
}
.rail-hint {
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, .38);
    font-size: .6rem;
    letter-spacing: .2em;
}

/* --------------------------------- Footer ----------------------------- */
.landing-foot {
    text-align: center;
    color: #bcd4ee;
    font-size: .86rem;
    padding: 1.6rem 1rem 2.4rem;
}
.landing-foot strong { color: #ffffff; }
.landing-foot .credit {
    display: inline-block;
    margin-top: .45rem;
    padding: 0;
    border: 0;
    background: none;
    color: #c6d8ee;
    font-weight: 400;
    letter-spacing: .01em;
}
.landing-foot .motto { color: #d7e5f6; }

/* -------------------------------- Responsif --------------------------- */
@media (max-width: 1100px) {
    .landing-badges { display: none; }
    .landing-brand .brand-text strong { font-size: 1.6rem; }
}
@media (max-width: 900px) {
    body.landing { --header-h: 76px; }
    .landing-header { padding: .5rem .8rem; gap: .6rem; }
    .landing-brand .emblem { width: 52px; height: 52px; flex-basis: 52px; }
    .landing-brand .brand-text strong { font-size: 1.42rem; }
    .landing-brand .brand-text small { font-size: .66rem; }
    .landing-burger { display: grid; }
    .landing-nav {
        position: fixed;
        top: var(--header-h);
        left: .7rem; right: .7rem;
        flex-direction: column;
        align-items: stretch;
        background: rgba(9, 28, 48, .96);
        padding: .5rem;
        display: none;
        box-shadow: 0 18px 40px rgba(4, 16, 30, .5);
    }
    body.nav-open .landing-nav { display: flex; }
    .landing-nav a { padding: .8rem .9rem; font-size: .84rem; }
    .btn-login-cta { padding: .6rem .8rem; font-size: .78rem; }
    .landing-scroll { padding: 1rem 52px 2.4rem 1rem; }
    .glass-card { padding: 1.5rem 1.15rem; border-radius: 16px; }
    .scroll-rail { right: 4px; gap: .35rem; padding: .35rem 0 .25rem; }
    .rail-btn { width: 34px; height: 34px; flex-basis: 34px; }
    .rail-track { min-height: 70px; width: 9px; }
    .rail-label, .rail-hint { display: none; }
}
@media (max-width: 640px) {
    .btn-login-cta span.label-full { display: none; }
    .landing-scroll { padding: 1rem 46px 2rem .8rem; }
    .glass-card { padding: 1.25rem .95rem; }
    .login-headline { letter-spacing: .02em; }
    .brand-echo .echo-name { letter-spacing: .1em; }
    .jadwal-hari table.data { font-size: .78rem; }
    .jadwal-hari table.data th, .jadwal-hari table.data td { padding: .45rem .5rem; }
}

/* ==========================================================================
   Halaman publik sekunder (Jadwal, Informasi) - memakai header yang sama
   ========================================================================== */
body.page-public {
    height: auto;
    overflow: auto;
    --header-h: 88px;
    background: linear-gradient(180deg, #f6f9fd 0%, #e9f1fa 100%);
}
body.page-public .landing-header { position: sticky; }
.pub-header-small .landing-brand .brand-text strong { font-size: 1.5rem; }
.pub-header-small .landing-badges img { height: 36px; }
.pub-header-small .landing-nav { position: static; display: flex; flex-direction: row; }
.pub-header-small .landing-nav a { text-transform: uppercase; }
.public-main { max-width: 1160px; margin: 0 auto; padding: 1.6rem 1.1rem 3rem; }
.public-main .card { background: #fff; }
body.page-public .section { padding: 0; }
body.page-public .section-inner { max-width: none; }
body.page-public .section-head { margin-bottom: 1.2rem; }
body.page-public .public-footer { margin-top: 2rem; }
@media (max-width: 900px) {
    body.page-public { --header-h: 70px; }
    .pub-header-small .brand-text small { display: none; }
    .pub-header-small .landing-badges { display: none; }
    .pub-header-small .landing-nav { display: none; }
    body.page-public.nav-open .pub-header-small .landing-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: .7rem; right: .7rem;
    }
}


/* --------------------- Pesan komitmen (Profil Sekolah) ---------------- */
.komitmen {
    background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: 4px solid #4d8ef7;
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    margin-bottom: 1.6rem;
}
.komitmen p { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.8; color: #e3edf9; }
.komitmen p:last-child { margin-bottom: 0; }

/* ==========================================================================
   MODERN UI (23/11/2026) — permintaan user: beranda dibuat lebih modern
   mengikuti foto latar sekolah, tetapi teks tetap terbaca jelas.
   Isinya: lapisan aurora + kisi halus di atas foto, kartu kaca yang lebih
   "hidup" (kilau tepi + cahaya dalam), judul baru, tombol dengan kilau
   lembut, dan tiga kartu layanan di bawah tombol MASUK.
   ========================================================================== */

/* Lapisan cahaya aurora di atas foto latar (di bawah semua kartu).
   Sengaja TANPA filter blur: gradasi radial sudah lembut dengan sendirinya,
   sedangkan blur pada lapisan seluas layar yang terus beranimasi membuat
   gulir halus tersendat (frame drop) di laptop maupun ponsel. */
.landing-bg .aurora {
    position: absolute;
    inset: -14%;
    pointer-events: none;
    opacity: .85;
}
.landing-bg .aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    will-change: transform;
}
.aurora-a1 {
    width: 54vw; height: 54vw;
    left: -8%; top: 0;
    background: radial-gradient(closest-side, rgba(124, 58, 237, .50), rgba(124, 58, 237, .16) 58%, rgba(124, 58, 237, 0) 78%);
    animation: auroraA 26s ease-in-out infinite alternate;
}
.aurora-a2 {
    width: 46vw; height: 46vw;
    right: -8%; top: 12%;
    background: radial-gradient(closest-side, rgba(56, 189, 248, .46), rgba(56, 189, 248, .14) 58%, rgba(56, 189, 248, 0) 78%);
    animation: auroraB 31s ease-in-out infinite alternate;
}
.aurora-a3 {
    width: 42vw; height: 42vw;
    left: 24%; bottom: -8%;
    background: radial-gradient(closest-side, rgba(244, 114, 182, .40), rgba(244, 114, 182, .12) 58%, rgba(244, 114, 182, 0) 78%);
    animation: auroraC 35s ease-in-out infinite alternate;
}
@keyframes auroraA {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(5vw, 4vh, 0) scale(1.16); }
}
@keyframes auroraB {
    from { transform: translate3d(0, 0, 0) scale(1.08); }
    to { transform: translate3d(-4vw, 6vh, 0) scale(.96); }
}
@keyframes auroraC {
    from { transform: translate3d(0, 0, 0) scale(.98); }
    to { transform: translate3d(3vw, -5vh, 0) scale(1.12); }
}

/* Kisi halus yang memudar dari tengah — memberi kesan "digital modern". */
.landing-bg .kisi-halus {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 32%, #000 0%, transparent 72%);
}

/* Kartu kaca: kilau diagonal tipis + garis cahaya di tepi atas. */
.glass-card { position: relative; overflow: hidden; }
.glass-card::before,
.glass-card::after { z-index: 0; pointer-events: none; }
.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(122deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 24%, rgba(255, 255, 255, 0) 44%);
}
.glass-card::after {
    content: "";
    position: absolute;
    left: 12%; right: 12%; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
}
.glass-card > * { position: relative; z-index: 1; }
.glass-card > .login-glow { z-index: 0; }

/* Cahaya dalam kartu login supaya tidak terasa rata. */
.login-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(420px 200px at 20% 0%, rgba(125, 211, 252, .12), transparent 70%),
        radial-gradient(460px 240px at 84% 6%, rgba(196, 137, 255, .12), transparent 72%),
        radial-gradient(520px 260px at 50% 104%, rgba(37, 99, 235, .28), transparent 74%);
}

/* Label kecil di atas judul. */
.login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .8rem;
    padding: .32rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .24);
    color: #dcebfb;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.titik-hidup {
    width: 7px; height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #7ce8b0;
    box-shadow: 0 0 0 3px rgba(124, 232, 176, .22), 0 0 10px rgba(124, 232, 176, .85);
    animation: hidupKedip 2.1s ease-in-out infinite;
}
@keyframes hidupKedip {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}

/* Kilau lembut yang berjalan pada tombol MASUK. */
.btn-masuk { position: relative; overflow: hidden; }
.btn-masuk::after {
    content: "";
    position: absolute;
    top: -60%; left: -30%;
    width: 36%; height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: rotate(18deg);
    animation: kilauMasuk 4.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes kilauMasuk {
    0%, 58% { transform: translateX(-160%) rotate(18deg); }
    100% { transform: translateX(560%) rotate(18deg); }
}

/* Kartu layanan di bawah tombol MASUK. */
.fitur-cepat {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
    margin: 1.15rem 0 .1rem;
}
.fitur-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .75rem;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(10, 28, 48, .66), rgba(10, 26, 44, .52));
    border: 1px solid rgba(255, 255, 255, .2);
    text-align: left;
    transition: transform .16s ease, border-color .16s ease, background .2s ease;
}
.fitur-item:hover {
    transform: translateY(-2px);
    border-color: rgba(160, 205, 255, .55);
    background: linear-gradient(150deg, rgba(16, 40, 66, .74), rgba(12, 30, 50, .62));
}
.fitur-ikon {
    width: 30px; height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(96, 165, 250, .38), rgba(167, 139, 250, .34));
    border: 1px solid rgba(255, 255, 255, .22);
    color: #eaf4ff;
}
.fitur-ikon svg { width: 17px; height: 17px; }
.fitur-teks { font-size: .82rem; font-weight: 700; color: #f4f9ff; line-height: 1.28; }

@media (max-width: 640px) {
    .landing-bg .aurora { opacity: .7; }
    .glass-card .login-headline { letter-spacing: 0; }
    .fitur-cepat { gap: .5rem; }
    .fitur-item { padding: .5rem .6rem; gap: .5rem; }
    .fitur-teks { font-size: .76rem; }
}
@media (max-width: 520px) {
    .fitur-cepat { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .landing-bg .aurora span { animation: none; }
    .btn-masuk::after { animation: none; display: none; }
    .titik-hidup { animation: none; }
}
