/* =========================================================================
   DISUKA — Landing Page (Glassmorphism)
   KSOP Kelas 1 Banjarmasin — Navy & Emas, efek kaca glossy
   Stylesheet mandiri: hanya dipakai layouts/public.blade.php
   ========================================================================= */

:root {
    --navy-950: #050f1e;
    --navy-900: #071b33;
    --navy-800: #0b2c4d;
    --navy-700: #103a63;
    --navy-600: #164b7e;
    --navy-500: #1d5d9c;
    --navy-300: #7fa8d4;
    --gold-200: #f8ecc0;
    --gold-300: #f3dfa0;
    --gold-400: #e6c467;
    --gold-500: #d4af37;
    --gold-600: #b8912a;
    --ink: #14213a;
    --muted: #61708a;
    --success: #1f9a5c;
    --danger: #d1453a;

    --glass-bg: linear-gradient(145deg, rgba(255,255,255,.78), rgba(255,255,255,.38));
    --glass-border: 1px solid rgba(255,255,255,.75);
    --glass-blur: blur(22px) saturate(165%);
    --glass-shadow: 0 24px 60px -24px rgba(11,44,77,.35), 0 2px 6px rgba(11,44,77,.06);
    --glass-inset: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35);

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --font-head: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    --font-accent: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    background: linear-gradient(135deg, #f3f6fc 0%, #e8eefa 45%, #f7f2e3 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ---------- Latar: orb berwarna yang melayang ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(135deg, #f3f6fc 0%, #e8eefa 45%, #f7f2e3 100%); }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: orbFloat 22s ease-in-out infinite; }
.bg-orbs .o1 { width: 520px; height: 520px; top: -160px; left: -120px; background: radial-gradient(circle, var(--navy-500), transparent 70%); }
.bg-orbs .o2 { width: 460px; height: 460px; top: 30%; right: -140px; background: radial-gradient(circle, var(--gold-400), transparent 70%); opacity: .4; animation-delay: -7s; }
.bg-orbs .o3 { width: 420px; height: 420px; bottom: -140px; left: 25%; background: radial-gradient(circle, #7fa8d4, transparent 70%); animation-delay: -13s; }

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(34px, -28px) scale(1.08); }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes sheen { 0% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } }
@keyframes suksesPop { to { transform: scale(1); } }
@keyframes suksesGaris { to { stroke-dashoffset: 0; } }

.page { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 22px 24px 40px; }

/* ---------- Komponen kaca dasar ---------- */
.glass {
    position: relative;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow), var(--glass-inset);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
/* kilau diagonal di sudut atas */
.glass::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%);
    pointer-events: none;
}
.glass > * { position: relative; }

/* ---------- Navbar ---------- */
.nav {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 10px 14px 10px 12px;
    border-radius: 999px;
    animation: fadeInUp .5s ease-out;
}
.nav-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav-logo {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
    background: #fff; padding: 6px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px rgba(212,175,55,.55), 0 6px 16px rgba(11,44,77,.16);
}
.nav-logo img { width: 100%; height: 100%; object-fit: contain; }
.nav-logo.wide { width: auto; border-radius: 999px; padding: 6px 14px; }
.nav-logo.wide img { width: auto; height: 100%; }
.nav-title { line-height: 1.25; min-width: 0; }
.nav-title strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy-900); letter-spacing: .2px; }
.nav-title span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---------- Tombol ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .2px;
    cursor: pointer; position: relative; overflow: hidden;
    transition: transform .2s, box-shadow .25s, background .25s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-900) 100%);
    box-shadow: 0 12px 26px -10px rgba(11,44,77,.7), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.18);
}
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: 0; width: 38%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
    transform: translateX(-120%) skewX(-20deg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(11,44,77,.75), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.18); }
.btn-primary:hover::after { animation: sheen .9s ease; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn-glass {
    color: var(--navy-800);
    background: linear-gradient(145deg, rgba(255,255,255,.85), rgba(255,255,255,.45));
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-color: rgba(255,255,255,.85);
    box-shadow: 0 8px 20px -10px rgba(11,44,77,.3), inset 0 1px 0 #fff;
}
.btn-glass:hover { transform: translateY(-2px); border-color: var(--gold-400); box-shadow: 0 12px 24px -10px rgba(212,175,55,.5), inset 0 1px 0 #fff; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; margin-top: 28px; }
.hero-left { padding: 18px 6px 6px; animation: fadeInUp .6s ease-out .05s both; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 14px 7px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700; color: var(--navy-700);
    background: linear-gradient(145deg, rgba(255,255,255,.8), rgba(255,255,255,.4));
    border: 1px solid rgba(255,255,255,.85);
    box-shadow: 0 6px 16px -8px rgba(11,44,77,.3), inset 0 1px 0 #fff;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,.25); }
.hero h1 {
    margin: 20px 0 0;
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -1.8px;
    color: var(--navy-950);
}
.hero h1 em {
    display: block;
    font-family: var(--font-accent); font-style: italic; font-weight: 400;
    letter-spacing: -1px; padding-right: .1em;
    background: linear-gradient(100deg, var(--navy-600) 0%, var(--navy-500) 35%, var(--gold-500) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 20px 0 0; max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.fact { padding: 16px 16px 15px; border-radius: var(--radius-md); }
.fact .ico {
    width: 34px; height: 34px; border-radius: 11px; margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: linear-gradient(145deg, var(--navy-500), var(--navy-900));
    box-shadow: 0 8px 16px -8px rgba(11,44,77,.8), inset 0 1px 0 rgba(255,255,255,.4);
}
.fact:nth-child(2) .ico { background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); box-shadow: 0 8px 16px -8px rgba(184,145,42,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.fact .ico svg { width: 17px; height: 17px; }
.fact b { display: block; font-size: 14px; font-weight: 800; color: var(--navy-900); }
.fact small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ---------- Kartu gelap "Alur Pengajuan" ---------- */
.flow-card {
    position: relative; overflow: hidden; border-radius: var(--radius-xl);
    padding: 26px 24px 22px; color: #e8f0fb;
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(212,175,55,.2), transparent 55%),
        radial-gradient(90% 60% at 0% 100%, rgba(29,93,156,.55), transparent 60%),
        linear-gradient(160deg, #0d2e55 0%, #071b33 55%, #050f1e 100%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 34px 70px -28px rgba(5,15,30,.85), inset 0 1px 0 rgba(255,255,255,.28), inset 0 0 60px rgba(29,93,156,.18);
    animation: fadeInUp .6s ease-out .15s both;
    display: flex; flex-direction: column;
}
.flow-card::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(125deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 32%);
}
.flow-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; position: relative; }
.flow-head h2 { margin: 0; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.flow-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: #a7f3d0; padding: 5px 11px; border-radius: 999px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); }
.flow-live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: dotPulse 2s infinite; }

.steps { list-style: none; margin: 0 0 18px; padding: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--gold-400), rgba(212,175,55,.08)); border-radius: 2px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; position: relative; }
.steps .num {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; color: var(--navy-950);
    background: linear-gradient(145deg, var(--gold-200), var(--gold-500));
    box-shadow: 0 10px 20px -10px rgba(212,175,55,.9), inset 0 1px 0 rgba(255,255,255,.8);
}
.steps li:nth-child(n+2) .num { color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.steps b { display: block; font-size: 15px; font-weight: 700; color: #fff; padding-top: 3px; }
.steps span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: #9fb4d0; }

.flow-note {
    margin-top: auto; padding: 12px 14px; border-radius: 14px; font-size: 12.5px; color: #cfe0f5; line-height: 1.5;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.flow-note svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; }

/* ---------- Kartu formulir ---------- */
.form-section { margin-top: 48px; scroll-margin-top: 24px; }
.form-card { padding: 34px 34px 32px; border-radius: var(--radius-xl); animation: fadeInUp .6s ease-out .2s both; }
.form-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.form-title h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.8px; color: var(--navy-950); line-height: 1.1; }
.form-title h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.5px; color: var(--navy-500); }
.form-title p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.form-badge { font-size: 12px; font-weight: 700; color: var(--gold-600); padding: 7px 14px; border-radius: 999px; background: rgba(212,175,55,.14); border: 1px solid rgba(212,175,55,.4); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.form-group { display: block; margin: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--navy-800); letter-spacing: .1px; }
.form-group .field { width: 100%; }

.form-control {
    width: 100%; min-height: 50px; padding: 14px 16px; font-family: var(--font-body); font-size: 14px; color: var(--ink);
    border-radius: 14px; border: 1px solid rgba(255,255,255,.9);
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.6));
    box-shadow: inset 0 2px 5px rgba(11,44,77,.07), 0 1px 0 rgba(255,255,255,.9);
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-control::placeholder { color: #9aa7bd; }
.form-control:hover { border-color: rgba(29,93,156,.35); }
.form-control:focus {
    outline: none; border-color: var(--gold-500); background: #fff;
    box-shadow: 0 0 0 4px rgba(212,175,55,.22), inset 0 1px 2px rgba(11,44,77,.05);
}

.btn-pilih-perihal {
    width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
    min-height: 50px; padding: 12px 16px; border-radius: 14px; cursor: pointer;
    font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--navy-800);
    border: 1px dashed rgba(29,93,156,.45);
    background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.4));
    box-shadow: inset 0 1px 0 #fff;
    transition: all .25s;
}
.btn-pilih-perihal:hover { border-color: var(--gold-500); background: rgba(255,255,255,.9); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(212,175,55,.6), inset 0 1px 0 #fff; }
.btn-pilih-perihal #icon-plus {
    width: 24px; height: 24px; flex-shrink: 0; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
}
.btn-pilih-perihal #label-perihal { flex: 1; min-width: 0; line-height: 1.45; }

.upload-box {
    display: flex; align-items: center; gap: 16px; width: 100%; min-height: 86px; padding: 16px 18px;
    cursor: pointer; border-radius: 16px; border: 1.5px dashed rgba(29,93,156,.45);
    background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35));
    box-shadow: inset 0 1px 0 #fff; transition: all .25s;
}
.upload-box:hover { border-color: var(--gold-500); background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(11,44,77,.5), inset 0 1px 0 #fff; }
.upload-box .plus {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 300; line-height: 1; color: #fff;
    background: linear-gradient(145deg, var(--navy-500), var(--navy-900));
    box-shadow: 0 10px 18px -10px rgba(11,44,77,.8), inset 0 1px 0 rgba(255,255,255,.4);
}
.upload-hint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.upload-hint b { display: block; color: var(--navy-800); font-weight: 700; }
#upload-filename { font-size: 13px; font-weight: 700; color: var(--navy-700); word-break: break-all; }
#upload-filename:not(:empty) + .upload-hint, .upload-box:has(#upload-filename:not(:empty)) .upload-hint { display: none; }

hr.section-divider { grid-column: 1 / -1; width: 100%; border: none; height: 1px; margin: 6px 0; background: linear-gradient(90deg, transparent, rgba(11,44,77,.2), transparent); }

.btn-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 8px; padding: 16px;
    font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: 1px; color: #fff; cursor: pointer;
    border: 1px solid rgba(255,255,255,.18); border-radius: 16px; position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--navy-600) 0%, var(--navy-900) 100%);
    box-shadow: 0 16px 30px -12px rgba(11,44,77,.75), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.2);
    transition: transform .2s, box-shadow .25s;
}
.btn-submit::after {
    content: ''; position: absolute; top: 0; left: 0; width: 36%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
    transform: translateX(-120%) skewX(-20deg);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(11,44,77,.8), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.2); }
.btn-submit:hover::after { animation: sheen .9s ease; }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.form-submit-row { grid-column: 1 / -1; }

/* ---------- Alert ---------- */
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: 14px; border: 1px solid transparent; backdrop-filter: blur(10px); animation: fadeInUp .35s ease-out; }
.alert-error { background: rgba(253,236,234,.85); color: #9c2a22; border-color: rgba(209,69,58,.35); }

/* ---------- Footer ---------- */
.foot { margin-top: 34px; text-align: center; font-size: 12.5px; color: var(--muted); }
.foot b { color: var(--navy-800); }

/* ---------- Modal (Pilih Perihal + Sukses) ---------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 16px;
    background: rgba(5,15,30,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    animation: fadeIn .2s ease-out;
}
.modal-box {
    position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; padding: 26px; border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
    -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 40px 80px -30px rgba(5,15,30,.7), inset 0 1px 0 #fff;
    animation: popIn .28s cubic-bezier(.34,1.56,.64,1);
}
.modal-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid rgba(11,44,77,.1); }
.modal-header h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.3px; color: var(--navy-900); }
.modal-header button {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(11,44,77,.12); background: rgba(255,255,255,.8);
    font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); transition: all .2s;
}
.modal-header button:hover { color: var(--danger); transform: rotate(90deg); border-color: rgba(209,69,58,.4); }

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perihal-option {
    padding: 18px 14px; text-align: center; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--navy-800);
    cursor: pointer; border-radius: 16px; border: 1px solid rgba(255,255,255,.95);
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.55));
    box-shadow: 0 8px 18px -12px rgba(11,44,77,.45), inset 0 1px 0 #fff;
    transition: all .22s; opacity: 0; animation: fadeInUp .35s ease-out forwards;
}
.modal-grid .perihal-option:nth-child(1) { animation-delay: .02s; }
.modal-grid .perihal-option:nth-child(2) { animation-delay: .06s; }
.modal-grid .perihal-option:nth-child(3) { animation-delay: .1s; }
.modal-grid .perihal-option:nth-child(4) { animation-delay: .14s; }
.modal-grid .perihal-option:nth-child(5) { animation-delay: .18s; }
.modal-grid .perihal-option:nth-child(6) { animation-delay: .22s; }
.modal-grid .perihal-option:nth-child(n+7) { animation-delay: .26s; }
.perihal-option:hover { transform: translateY(-3px); border-color: var(--gold-400); box-shadow: 0 14px 24px -12px rgba(212,175,55,.6), inset 0 1px 0 #fff; }
.perihal-option.selected {
    color: #fff; border-color: rgba(255,255,255,.25);
    background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
    box-shadow: 0 14px 26px -10px rgba(11,44,77,.75), inset 0 1px 0 rgba(255,255,255,.35);
}
.modal-footer { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 22px; }
.btn-tutup {
    padding: 10px 20px; border-radius: 999px; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--navy-800);
    border: 1px solid rgba(11,44,77,.15); background: rgba(255,255,255,.85); transition: all .2s;
}
.btn-tutup:hover { border-color: var(--navy-600); transform: translateY(-1px); }
.modal-footer .btn-submit { border-radius: 999px; font-size: 13px; letter-spacing: .4px; }

.modal-box.sukses-box { max-width: 410px; padding: 40px 30px 30px; text-align: center; border-top: 4px solid var(--gold-500); }
.sukses-box h2 { margin: 8px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: var(--navy-900); }
.sukses-box .sukses-utama { margin: 0 0 14px; font-size: 16px; color: #3b4963; }
.sukses-box .sukses-detail { margin: 0 0 8px; font-size: 13px; color: var(--muted); word-break: break-word; line-height: 1.55; }
.sukses-box .btn-submit { margin-top: 22px; }
.sukses-check { display: block; width: 104px; height: 104px; margin: 0 auto 8px; }
.sukses-check .bg { fill: var(--success); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: suksesPop .45s cubic-bezier(.34,1.56,.64,1) .1s forwards; }
.sukses-check .tick { stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: suksesGaris .35s ease-out .5s forwards; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy-500), var(--navy-900)); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }

/* ---------- Fallback bila blur tidak didukung ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: rgba(255,255,255,.92); }
    .modal-box { background: #fff; }
}

/* ---------- Responsif ---------- */
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .hero-left { padding-top: 8px; }
}
@media (max-width: 720px) {
    .page { padding: 14px 14px 32px; }
    .nav { border-radius: 24px; }
    .nav-title span { display: none; }
    .nav-logo.wide { display: none; }
    .facts { grid-template-columns: 1fr; }
    .fact { display: flex; gap: 14px; align-items: center; }
    .fact .ico { margin: 0; flex-shrink: 0; }
    .form-card { padding: 24px 18px 22px; border-radius: 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .modal-box { padding: 20px 16px; }
}
@media (max-width: 420px) {
    .nav-actions .btn-glass span { display: none; }
    .modal-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================================
   LOGIN ADMIN (glass) — dipakai resources/views/admin/login.blade.php
   ========================================================================= */
.login-page { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-shell {
    width: 100%; max-width: 1020px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
    border-radius: 32px; overflow: hidden; animation: fadeInUp .6s ease-out;
    box-shadow: 0 50px 90px -40px rgba(5,15,30,.65), 0 0 0 1px rgba(255,255,255,.7);
}

/* Panel kiri gelap */
.login-aside {
    position: relative; overflow: hidden; padding: 40px 38px; color: #e8f0fb;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    background:
        radial-gradient(120% 70% at 100% 0%, rgba(212,175,55,.22), transparent 55%),
        radial-gradient(90% 60% at 0% 100%, rgba(29,93,156,.6), transparent 60%),
        linear-gradient(160deg, #0d2e55 0%, #071b33 55%, #050f1e 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset -1px 0 0 rgba(255,255,255,.08);
}
.login-aside::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 32%); }
.login-aside > * { position: relative; }
.aside-brand { display: flex; align-items: center; gap: 12px; }
.aside-brand .nav-logo { width: 48px; height: 48px; }
.aside-brand .nav-logo.wide { width: auto; height: 48px; }
.aside-brand small { font-size: 12px; line-height: 1.4; color: #9fb4d0; }
.aside-brand small b { display: block; color: #fff; font-size: 13.5px; font-weight: 800; }
.aside-body h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.06; color: #fff; }
.aside-body h2 em {
    display: block; font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.5px;
    background: linear-gradient(100deg, var(--gold-200), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.aside-body p { margin: 16px 0 0; max-width: 360px; font-size: 14px; line-height: 1.7; color: #9fb4d0; }
.aside-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.aside-points li {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; font-size: 13px; font-weight: 600; color: #dbe7f7;
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.aside-points svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; }
.aside-foot { font-size: 11.5px; color: #7f95b4; }

/* Panel kanan: kartu kaca */
.login-card {
    position: relative; padding: 44px 40px 36px;
    background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.6));
    -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
    display: flex; flex-direction: column; justify-content: center;
}
.login-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 40%); }
.login-card > * { position: relative; }
.login-badge {
    width: 58px; height: 58px; border-radius: 18px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; color: #fff;
    background: linear-gradient(145deg, var(--navy-500), var(--navy-900));
    box-shadow: 0 16px 28px -12px rgba(11,44,77,.85), inset 0 1px 0 rgba(255,255,255,.4);
}
.login-badge svg { width: 26px; height: 26px; }
.login-eyebrow { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 800; color: var(--gold-600); }
.login-card h1 { margin: 6px 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -.9px; color: var(--navy-950); line-height: 1.1; }
.login-card h1 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--navy-500); letter-spacing: -.4px; }
.login-sub { margin: 0 0 26px; font-size: 13.5px; color: var(--muted); }

.login-card form { display: grid; gap: 16px; }
.login-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--navy-800); }
.input-icon { position: relative; }
.input-icon > svg.lead { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--navy-500); pointer-events: none; }
.input-icon .form-control { padding-left: 44px; }
.input-icon .form-control.has-toggle { padding-right: 46px; }
.toggle-pass {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: none; border-radius: 10px;
    background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.toggle-pass:hover { background: rgba(29,93,156,.1); color: var(--navy-700); }
.toggle-pass svg { width: 18px; height: 18px; }
.login-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--navy-800); font-weight: 600; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
    width: 20px; height: 20px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: rgba(255,255,255,.9); border: 1.5px solid rgba(29,93,156,.4); box-shadow: inset 0 1px 2px rgba(11,44,77,.08); transition: all .2s;
}
.check .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.5); transition: all .2s; }
.check input:checked + .box { background: linear-gradient(145deg, var(--navy-500), var(--navy-900)); border-color: var(--navy-700); }
.check input:checked + .box svg { opacity: 1; transform: none; }
.check input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(212,175,55,.3); }
.login-card .btn-submit { margin-top: 4px; }
.login-back { margin-top: 22px; text-align: center; font-size: 13px; }
.login-back a { color: var(--navy-600); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.login-back a:hover { color: var(--gold-600); }
.login-back svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
    .login-shell { grid-template-columns: 1fr; max-width: 480px; border-radius: 26px; }
    .login-aside { padding: 26px 24px; gap: 18px; }
    .aside-body p, .aside-points, .aside-foot { display: none; }
    .aside-body h2 { font-size: 28px; }
    .login-card { padding: 30px 24px 28px; }
}
@media (max-width: 420px) {
    .login-page { padding: 14px; }
    .aside-brand .nav-logo.wide { display: none; }
}
