/* =====================================================================
   SILOG PPK Ormawa — Stylesheet
   ===================================================================== */
:root {
    --c-primary: #1d4ed8;
    --c-primary-dark: #1e40af;
    --c-bg: #f1f5f9;
    --c-surface: #ffffff;
    --c-border: #e2e8f0;
    --c-text: #1e293b;
    --c-muted: #64748b;
    --c-sidebar: #0f172a;
    --c-sidebar-2: #1e293b;
    --green: #16a34a; --green-bg: #dcfce7;
    --amber: #d97706; --amber-bg: #fef3c7;
    --red: #dc2626;   --red-bg: #fee2e2;
    --blue: #2563eb;  --blue-bg: #dbeafe;
    --violet:#7c3aed; --violet-bg:#ede9fe;
    --teal: #0d9488;  --teal-bg: #ccfbf1;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(15,23,42,.08), 0 1px 2px rgba(15,23,42,.04);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    font-size: 15px;
    line-height: 1.55;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .6rem; line-height: 1.25; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.02rem; color: #334155; margin-top: 1.2rem; }
h3:first-child { margin-top: 0; }
.muted { color: var(--c-muted); }
.small { font-size: .82rem; }
.lead { font-size: 1.02rem; color: #475569; margin-bottom: 1.2rem; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
    width: 244px; background: var(--c-sidebar); color: #cbd5e1;
    display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; z-index: 30;
}
.brand { display: flex; align-items: center; gap: .65rem; padding: 1.1rem 1.1rem; border-bottom: 1px solid #1e293b; }
.brand-logo {
    background: var(--c-primary); color: #fff; font-weight: 800; letter-spacing: .5px;
    width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: .85rem;
}
.brand-logo.lg { width: 60px; height: 60px; font-size: 1.1rem; border-radius: 14px; margin: 0 auto; }
.logo-mark { width: 42px; height: 42px; border-radius: 11px; display: block; flex-shrink: 0; object-fit: contain; }
.logo-mark.lg { width: 76px; height: 76px; border-radius: 16px; margin: 0 auto; }
/* Alas putih untuk lambang berwarna di area gelap (sidebar & footer) */
.brand .logo-mark, .lp-footer .logo-mark { background: #fff; padding: 4px; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { color: #fff; font-size: .98rem; }
.brand-text span { font-size: .72rem; color: #94a3b8; }
.nav { padding: .8rem .6rem; flex: 1; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: .7rem; padding: .62rem .8rem; border-radius: 9px;
    color: #cbd5e1; font-size: .92rem; margin-bottom: 2px; transition: background .15s;
}
.nav-item:hover { background: #1e293b; text-decoration: none; color: #fff; }
.nav-item.active { background: var(--c-primary); color: #fff; font-weight: 600; }
.nav-ico { width: 1.3em; text-align: center; }
.nav-sep { height: 1px; background: #1e293b; margin: .6rem .4rem; }
.sidebar-foot { padding: .8rem 1.1rem; font-size: .72rem; color: #64748b; border-top: 1px solid #1e293b; }

.main { flex: 1; margin-left: 244px; display: flex; flex-direction: column; min-width: 0; }
.topbar {
    background: var(--c-surface); border-bottom: 1px solid var(--c-border);
    display: flex; align-items: center; gap: 1rem; padding: .75rem 1.5rem; position: sticky; top: 0; z-index: 20;
}
.page-title { font-size: 1.15rem; margin: 0; flex: 1; }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
.topbar-user { display: flex; align-items: center; gap: .65rem; }
.tu-meta { text-align: right; line-height: 1.2; }
.tu-meta strong { font-size: .9rem; display: block; }
.tu-meta span { font-size: .75rem; color: var(--c-muted); }
.avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--violet-bg); color: var(--violet);
    display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.content { padding: 1.5rem; flex: 1; max-width: 1200px; width: 100%; }
.page-foot { padding: 1rem 1.5rem; color: var(--c-muted); font-size: .8rem; border-top: 1px solid var(--c-border); }

/* ---------- Alerts ---------- */
.alert { padding: .8rem 1rem; border-radius: 9px; margin-bottom: 1rem; font-size: .92rem; border: 1px solid transparent; }
.alert-success { background: var(--green-bg); color: #166534; border-color: #bbf7d0; }
.alert-error   { background: var(--red-bg); color: #991b1b; border-color: #fecaca; }
.alert-info    { background: var(--blue-bg); color: #1e40af; border-color: #bfdbfe; }
.callout { padding: .85rem 1rem; border-radius: 9px; margin-bottom: 1.2rem; font-size: .92rem; }
.callout-amber { background: var(--amber-bg); color: #92400e; }
.callout-red { background: var(--red-bg); color: #991b1b; }
.callout-blue { background: var(--blue-bg); color: #1e40af; }

/* ---------- Cards / stats ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; gap: 1rem; transition: transform .12s, box-shadow .12s; }
.stat:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15,23,42,.1); }
.stat-ico { width: 48px; height: 48px; border-radius: 11px; display: grid; place-items: center; font-size: 1.4rem; }
.stat-val { font-size: 1.7rem; font-weight: 800; line-height: 1; color: var(--c-text); }
.stat-label { font-size: .82rem; color: var(--c-muted); margin-top: .2rem; }
.stat-blue .stat-ico { background: var(--blue-bg); }
.stat-amber .stat-ico { background: var(--amber-bg); }
.stat-teal .stat-ico { background: var(--teal-bg); }
.stat-violet .stat-ico { background: var(--violet-bg); }
.stat-red .stat-ico { background: var(--red-bg); }

/* ---------- Panels ---------- */
.panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); margin-bottom: 1.3rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.panel-head h2 { margin: 0; font-size: 1.1rem; }
.empty { color: var(--c-muted); padding: 1.5rem 0; text-align: center; }
.back { display: inline-block; margin-bottom: 1rem; color: var(--c-muted); font-size: .9rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; padding: .6rem .7rem; border-bottom: 2px solid var(--c-border); color: var(--c-muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.table td { padding: .7rem .7rem; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.table tr:hover td { background: #f8fafc; }
.row-off td { opacity: .55; }
.nowrap { white-space: nowrap; }

/* ---------- Pagination ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1.1rem; }
.pager .pg { padding: .45rem .9rem; border: 1px solid var(--c-border); border-radius: 8px; font-size: .88rem; color: var(--c-primary); background: #fff; }
.pager .pg:hover { background: #f8fafc; text-decoration: none; }
.pager .pg.disabled { color: var(--c-muted); background: #f8fafc; cursor: default; pointer-events: none; }
.pager .pg-info { font-size: .85rem; color: var(--c-muted); }

/* ---------- Badges & tags ---------- */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 20px; font-size: .76rem; font-weight: 600; }
.badge-gray { background: #f1f5f9; color: #475569; }
.badge-green { background: var(--green-bg); color: #166534; }
.badge-amber { background: var(--amber-bg); color: #92400e; }
.badge-red { background: var(--red-bg); color: #991b1b; }
.badge-blue { background: var(--blue-bg); color: #1e40af; }
.badge-violet { background: var(--violet-bg); color: #6d28d9; }
.tag { display: inline-block; padding: .12rem .5rem; border-radius: 6px; font-size: .74rem; font-weight: 600; }
.tag-kemajuan { background: var(--blue-bg); color: #1e40af; }
.tag-akhir { background: var(--violet-bg); color: #6d28d9; }

/* ---------- Progress ---------- */
.progress { background: #e2e8f0; border-radius: 20px; height: 8px; overflow: hidden; width: 90px; }
.progress.lg { width: 100%; height: 12px; }
.progress span { display: block; height: 100%; background: var(--c-primary); border-radius: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1rem; border-radius: 9px; font-size: .9rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: filter .12s; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(.96); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-outline { background: #fff; border-color: var(--c-border); color: var(--c-text); }
.btn-success { background: var(--green); color: #fff; }
.btn-warning { background: var(--amber); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-block { width: 100%; }
.btn-col { display: flex; flex-direction: column; gap: .5rem; }
.btn-col form { margin: 0; }
.quick-actions { display: flex; gap: .7rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.link { color: var(--c-primary); font-size: .88rem; }
.linkbtn { background: none; border: none; color: var(--c-primary); cursor: pointer; font-size: .88rem; padding: 0; font-family: inherit; }
.linkbtn.danger { color: var(--red); }
.inline-form { display: inline; }

/* ---------- Toolbar / filters ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.filters { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.filters select { padding: .45rem .7rem; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; font-size: .88rem; }
.chk { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; cursor: pointer; }

/* ---------- Forms ---------- */
.form-panel { max-width: 760px; }
.form label { display: block; margin-bottom: 1rem; font-size: .88rem; font-weight: 600; color: #334155; }
.form input[type=text], .form input[type=email], .form input[type=password],
.form input[type=date], .form input[type=number], .form select, .form textarea {
    width: 100%; padding: .58rem .7rem; border: 1px solid var(--c-border); border-radius: 8px;
    font-size: .92rem; font-family: inherit; margin-top: .35rem; background: #fff; color: var(--c-text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue-bg); border-color: var(--c-primary); }
.form input:disabled { background: #f8fafc; color: var(--c-muted); }
.form textarea { resize: vertical; }
.form .hint { display: block; font-weight: 400; color: var(--c-muted); font-size: .78rem; margin-top: .3rem; }
.req { color: var(--red); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: .7rem; justify-content: flex-end; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--c-border); }
fieldset.members { border: 1px solid var(--c-border); border-radius: 9px; padding: 1rem; margin-bottom: 1rem; }
fieldset.members legend { font-weight: 700; padding: 0 .5rem; font-size: .9rem; }
.member-list { display: flex; flex-direction: column; gap: .2rem; }
.member-row { display: flex; justify-content: space-between; align-items: center; padding: .4rem .5rem; border-radius: 7px; }
.member-row:hover { background: #f8fafc; }
.ketua-pick { color: var(--c-muted); font-size: .82rem; }
.existing-files { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip { background: #f1f5f9; padding: .3rem .65rem; border-radius: 7px; font-size: .82rem; color: #334155; }

/* ---------- Detail ---------- */
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.3rem; align-items: start; }
.side-col { display: flex; flex-direction: column; gap: 1.3rem; }
.side-col .panel { margin-bottom: 0; }
.prose { white-space: normal; color: #334155; }
.meta-list { display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; margin: 0; font-size: .88rem; }
.meta-list.compact { gap: .25rem .7rem; font-size: .84rem; }
.meta-list dt { color: var(--c-muted); }
.meta-list dd { margin: 0; font-weight: 500; }
.review-box.rev { border-left: 4px solid var(--amber); }
.review-box.app { border-left: 4px solid var(--green); }
.review-box.val { border-left: 4px solid var(--violet); }

/* ---------- Diskusi ---------- */
.discussion { margin-top: .5rem; }
.disc-list { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: .8rem; }
.disc-item { display: flex; gap: .6rem; align-items: flex-start; }
.disc-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: .76rem; flex-shrink: 0; }
.disc-bubble { background: #f8fafc; border: 1px solid var(--c-border); border-radius: 10px; padding: .6rem .85rem; flex: 1; }
.disc-item.mine .disc-bubble { background: var(--blue-bg); border-color: #bfdbfe; }
.disc-item.mine .disc-avatar { background: var(--c-primary); color: #fff; }
.disc-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .25rem; font-size: .82rem; }
.disc-role { background: var(--violet-bg); color: #6d28d9; padding: .05rem .45rem; border-radius: 5px; font-size: .7rem; }
.disc-time { color: var(--c-muted); font-size: .76rem; }
.disc-body { font-size: .9rem; color: #334155; }
.disc-form { display: flex; gap: .5rem; align-items: flex-start; }
.disc-form textarea { flex: 1; padding: .55rem .7rem; border: 1px solid var(--c-border); border-radius: 8px; font-family: inherit; font-size: .9rem; resize: vertical; }

/* ---------- Files ---------- */
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .8rem; }
.file-card { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .7rem; border: 1px solid var(--c-border); border-radius: 9px; font-size: .78rem; color: #334155; text-align: center; overflow: hidden; }
.file-card:hover { text-decoration: none; border-color: var(--c-primary); }
.file-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 6px; }
.file-card.inline { flex-direction: row; align-items: center; max-width: 320px; }
.file-ico { font-size: 1.8rem; }
.file-card span { word-break: break-word; }

/* ---------- Team cards ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.team-card { display: flex; flex-direction: column; }
.team-card-head { display: flex; justify-content: space-between; align-items: start; gap: .5rem; }
.team-card-head h3 { margin: 0; font-size: 1.02rem; }
.team-title { color: var(--c-muted); font-size: .86rem; margin: .3rem 0 .8rem; }
.team-card-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--c-border); }

/* ---------- Auth ---------- */
.auth-body { background: linear-gradient(135deg, #1e3a8a, #0f172a); min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.auth-card { background: #fff; width: 100%; max-width: 400px; border-radius: 16px; padding: 2rem; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.auth-brand { text-align: center; margin-bottom: 1.5rem; }
.auth-brand h1 { font-size: 1.25rem; margin: .8rem 0 .2rem; }
.auth-brand p { color: var(--c-muted); font-size: .85rem; margin: 0; }
.auth-form label { display: block; font-size: .85rem; font-weight: 600; color: #334155; margin-bottom: .9rem; }
.auth-form input { width: 100%; padding: .65rem .8rem; border: 1px solid var(--c-border); border-radius: 9px; font-size: .95rem; margin-top: .35rem; }
.auth-hint { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid var(--c-border); font-size: .8rem; color: var(--c-muted); text-align: center; line-height: 1.7; }

/* ---------- Bell / notifikasi ---------- */
.bell { position: relative; font-size: .85rem; font-weight: 500; color: #475569; text-decoration: none; padding: .42rem .8rem; border: 1px solid var(--c-border); border-radius: 8px; line-height: 1; }
.bell:hover { text-decoration: none; background: #f8fafc; color: var(--c-primary); }
.bell-count { position: absolute; top: -8px; right: -8px; background: var(--red); color: #fff; font-size: .65rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* Sembunyikan kotak ikon yang kini kosong (ikon emoji dihilangkan) */
.nav-ico:empty, .stat-ico:empty, .file-ico:empty { display: none; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-item a { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem .6rem; border-bottom: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; }
.notif-item a:hover { background: #f8fafc; text-decoration: none; }
.notif-item:last-child a { border-bottom: none; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; background: transparent; margin-top: .45rem; flex-shrink: 0; }
.notif-item.unread .notif-dot { background: var(--c-primary); }
.notif-item.unread .notif-msg { font-weight: 600; }
.notif-body { display: flex; flex-direction: column; }
.notif-time { font-size: .76rem; color: var(--c-muted); margin-top: .15rem; }

/* ---------- Button group ---------- */
.btn-group { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Tabel angka ---------- */
.table th.num, .table td.num { text-align: right; white-space: nowrap; }
.total-row td { border-top: 2px solid var(--c-border); background: #f8fafc; }

/* ---------- Bar chart ---------- */
.bar-chart { display: flex; align-items: flex-end; gap: .8rem; height: 200px; padding-top: 1rem; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar-val { font-size: .8rem; font-weight: 700; color: #334155; margin-bottom: .25rem; }
.bar { width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--c-primary), #60a5fa); border-radius: 6px 6px 0 0; min-height: 4px; }
.bar-label { font-size: .74rem; text-align: center; margin-top: .4rem; color: #334155; }

/* ---------- Donut ringkasan ---------- */
.rekap-summary { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.donut { width: 112px; height: 112px; border-radius: 50%; flex-shrink: 0;
    background: conic-gradient(var(--green) calc(var(--pct) * 1%), #e2e8f0 0);
    display: grid; place-items: center; }
.donut-hole { width: 80px; height: 80px; border-radius: 50%; background: var(--c-surface); display: grid; place-items: center; }
.donut-hole strong { font-size: 1.35rem; color: var(--green); }

/* ---------- Legend ---------- */
.legend-row { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; font-size: .85rem; }
.legend-label { display: inline-flex; align-items: center; gap: .4rem; width: 120px; flex-shrink: 0; }
.legend-num { width: 80px; text-align: right; color: var(--c-muted); flex-shrink: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* =====================================================================
   LANDING PAGE
   ===================================================================== */
body.landing { background: #eef4fb; --soft-line: #e3ecf7; --soft-ink: #1b365d; }
.lp-container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

.lp-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--soft-line); }
.lp-nav-inner { max-width: 1080px; margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.lp-brand { display: flex; align-items: center; gap: .6rem; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.lp-brand-text strong { font-size: .98rem; color: var(--soft-ink); }
.lp-brand-text span { font-size: .74rem; color: var(--c-muted); }
.lp-nav-links { display: flex; align-items: center; gap: 1.3rem; }
.lp-nav-links a { color: #3a567e; font-size: .92rem; font-weight: 500; }
.lp-nav-links a:hover { color: #1d4ed8; text-decoration: none; }
.lp-nav-links a.btn { color: #fff; }

.lp-hero {
    background:
        radial-gradient(circle at 1px 1px, rgba(37,99,235,.05) 1px, transparent 0) 0 0 / 24px 24px,
        radial-gradient(ellipse 60% 50% at 80% -10%, #d6e6fb, transparent 60%),
        radial-gradient(ellipse 50% 45% at 12% 8%, #e3edfb, transparent 60%),
        linear-gradient(180deg, #e9f1fc 0%, #eef4fb 100%);
    color: var(--soft-ink); padding: 4.5rem 1.5rem 6rem; text-align: center; position: relative; overflow: hidden;
}
.lp-hero::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
    background: url('../img/hero-bg.svg') center bottom / cover no-repeat;
    z-index: 0; pointer-events: none;
}
/* Gambar latar hero yang diunggah admin — tampil transparan di belakang overlay (teks tetap terbaca) */
.lp-hero.has-hero-img {
    background-image: linear-gradient(rgba(233,241,252,.78), rgba(238,244,251,.86)), var(--hero-img);
    background-size: cover; background-position: center;
}
.lp-hero.has-hero-img::before { display: none; }
.lp-hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.lp-badge { display: inline-block; background: #dce9fb; border: 1px solid #c8dbf5; color: #1d4ed8; padding: .35rem .9rem; border-radius: 20px; font-size: .8rem; margin-bottom: 1.2rem; font-weight: 500; }
.lp-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: 2.7rem; font-weight: 600; margin: 0 0 .6rem; line-height: 1.12; color: var(--soft-ink); letter-spacing: -.01em; }
.lp-sub { font-size: 1.18rem; color: #3a567e; margin: 0 0 1.2rem; }
.lp-welcome { color: #5d779c; font-size: .98rem; line-height: 1.75; max-width: 640px; margin: 0 auto 1.8rem; }
.lp-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1rem; border-radius: 10px; }
.btn-outline-light { background: #fff; border: 1px solid #c8dbf5; color: #1d4ed8; box-shadow: 0 2px 8px rgba(37,99,235,.06); }
.btn-outline-light:hover { background: #f2f7fe; }

.lp-section { padding: 3.5rem 0; }
.lp-section-alt { background: #e7f0fb; }
.lp-h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.85rem; font-weight: 600; text-align: center; margin-bottom: .4rem; color: var(--soft-ink); }
.lp-h2::after { content: ""; display: block; width: 52px; height: 3px; background: #2563eb; border-radius: 3px; margin: .75rem auto 0; opacity: .55; }
.lp-lead { text-align: center; color: var(--c-muted); margin-bottom: 2.2rem; }

.lp-stats-wrap { padding: 0; }
.lp-stats { max-width: 1080px; margin: -3rem auto 0; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; position: relative; z-index: 2; }
.lp-stat { background: #fff; border: 1px solid var(--soft-line); border-radius: 18px; box-shadow: 0 12px 32px rgba(37,99,235,.08); padding: 1.6rem 1rem; text-align: center; }
.lp-stat-num { font-size: 2.2rem; font-weight: 700; color: #2563eb; line-height: 1; }
.lp-stat-lbl { font-size: .85rem; color: var(--c-muted); margin-top: .45rem; }

/* ---------- Banner fase aktif (landing) ---------- */
.lp-now { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; max-width: 760px; margin: 0 auto 1.8rem; background: #eaf2fe; border: 1px solid #c8dbf5; border-radius: 10px; padding: .7rem 1rem; font-size: .92rem; color: #1b365d; }
.lp-now-dot { width: 10px; height: 10px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.18); flex-shrink: 0; }
.lp-now-tag { background: #1d4ed8; color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .55rem; border-radius: 6px; }
.lp-now-date { color: var(--c-muted); }
.tl-current .tl-card { border: 2px solid #2563eb; box-shadow: 0 0 0 4px var(--blue-bg); }
.tl-current .tl-marker { border-color: #2563eb !important; background: #2563eb !important; box-shadow: 0 0 0 4px var(--blue-bg); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: #d8e3f2; }
.timeline.compact { max-width: none; }
.tl-item { position: relative; padding: 0 0 1.3rem 2.4rem; }
.tl-marker { position: absolute; left: 3px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #b8c7dd; z-index: 1; }
.tl-berlangsung .tl-marker { border-color: var(--amber); box-shadow: 0 0 0 4px var(--amber-bg); }
.tl-selesai .tl-marker { border-color: var(--green); background: var(--green); }
.tl-akan_datang .tl-marker { border-color: var(--blue); }
.tl-card { background: #fff; border: 1px solid var(--soft-line, #e3ecf7); border-radius: 14px; padding: 1rem 1.15rem; box-shadow: 0 6px 18px rgba(37,99,235,.05); }
.tl-berlangsung .tl-card { border-color: #fcd9a4; }
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .35rem; flex-wrap: wrap; }
.tl-date { font-size: .82rem; color: var(--c-muted); font-weight: 600; }
.tl-card h3 { margin: 0 0 .25rem; font-size: 1.02rem; color: var(--soft-ink, #1b365d); }
.tl-card p { margin: 0; color: #5d779c; font-size: .9rem; }
.tl-actions { margin-top: .5rem; font-size: .85rem; }

/* ---------- Pengumuman ---------- */
.ann-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.ann-card { background: #fff; border: 1px solid var(--soft-line, #e3ecf7); border-radius: 18px; padding: 1.4rem; box-shadow: 0 10px 28px rgba(37,99,235,.07); }
.ann-card .ann-date { font-size: .78rem; color: #2563eb; font-weight: 600; margin-bottom: .4rem; }
.ann-card h3 { font-size: 1.05rem; margin: 0 0 .5rem; color: var(--soft-ink, #1b365d); }
.ann-card p { color: #5d779c; font-size: .9rem; margin: 0; }
.ann-row { padding: .9rem 0; border-bottom: 1px solid var(--c-border); }
.ann-row:last-child { border-bottom: none; }
.ann-row-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.ann-excerpt { color: #475569; font-size: .88rem; margin: .4rem 0; }
.ann-actions { font-size: .85rem; }

/* ---------- Panitia Pelaksana ---------- */
.committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; }
.committee-card { background: #fff; border: 1px solid var(--soft-line, #e3ecf7); border-radius: 16px; padding: 1.3rem 1rem; text-align: center; box-shadow: 0 8px 24px rgba(37,99,235,.06); }
.committee-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto .8rem; display: block; }
.committee-initials { background: var(--blue-bg); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; }
.committee-name { font-weight: 600; color: var(--soft-ink, #1b365d); }
.committee-pos { font-size: .85rem; color: #2563eb; margin-top: .15rem; }
.committee-contact { font-size: .8rem; color: var(--c-muted); margin-top: .35rem; }

/* ---------- Footer landing ---------- */
.lp-footer { background: linear-gradient(180deg, #234168 0%, #1a3155 100%); color: #bccbe0; padding: 2.4rem 0; margin-top: 1rem; }
.lp-footer .lp-brand-text strong { color: #fff; }
.lp-footer .lp-brand-text span { color: #9fb2cd; }
.lp-foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.lp-foot-contact { text-align: right; font-size: .85rem; }

@media (max-width: 760px) {
    .lp-stats { grid-template-columns: repeat(2, 1fr); }
    .lp-hero h1 { font-size: 2rem; }
    .lp-nav-links a:not(.btn) { display: none; }
    .lp-foot-grid, .lp-foot-contact { text-align: left; }
}

/* ---------- Bantuan / FAQ ---------- */
.help-list { margin: 0; padding-left: 1.1rem; }
.help-list li { margin-bottom: .6rem; color: #334155; line-height: 1.6; }
.faq { border: 1px solid var(--c-border); border-radius: 9px; padding: .2rem .9rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: .6rem 0; color: var(--c-text); }
.faq summary::marker { color: var(--c-primary); }
.faq p { margin: 0 0 .7rem; color: #475569; font-size: .92rem; }

/* ---------- Backup ---------- */
.backup-cmd { background: #f1f5f9; padding: .7rem .9rem; border-radius: 8px; overflow-x: auto; font-size: .82rem; margin: .5rem 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); transition: transform .2s; }
    .sidebar.open { transform: translateX(0); }
    .main { margin-left: 0; }
    .hamburger { display: block; }
    .detail-grid { grid-template-columns: 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .tu-meta { display: none; }
}

/* ===================== TEMA FUTURISTIK (opsional) =====================
   Aktif bila <body> punya kelas .theme-futuristik. Desain default (soft)
   tidak terpengaruh. Kartu memakai glassmorphism (transparan + blur). */
.lp-theme-toggle { background: none; border: 1px solid currentColor; color: inherit; cursor: pointer; border-radius: 20px; padding: .35rem .8rem; font-size: .8rem; opacity: .85; }
.lp-theme-toggle:hover { opacity: 1; }

body.theme-futuristik {
    background: #070b1e url('../img/hero-futuristic.svg') center top / cover no-repeat fixed;
    color: #e6edf6;
}
.theme-futuristik .lp-nav { background: rgba(10,18,48,.55); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(56,189,248,.18); }
.theme-futuristik .lp-brand-text strong { color: #fff; }
.theme-futuristik .lp-brand-text span { color: #93c5fd; }
.theme-futuristik .lp-nav-links a { color: #cbd5e1; }
.theme-futuristik .lp-nav-links a:hover { color: #fff; }

.theme-futuristik .lp-hero { background: transparent; color: #e6edf6; }
.theme-futuristik .lp-hero::before { display: none; }
.theme-futuristik .lp-hero.has-hero-img { background-image: linear-gradient(rgba(7,11,30,.70), rgba(7,11,30,.82)), var(--hero-img); background-size: cover; background-position: center; }
.theme-futuristik .lp-hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(34,211,238,.35); }
.theme-futuristik .lp-sub { color: #b6c2d8; }
.theme-futuristik .lp-welcome { color: #9fb0c9; }
.theme-futuristik .lp-badge { background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.4); color: #67e8f9; }

.theme-futuristik .btn-primary { background: linear-gradient(135deg,#22d3ee,#6366f1); border: none; color: #04122b; box-shadow: 0 8px 30px rgba(34,211,238,.35); }
.theme-futuristik .btn-primary:hover { filter: brightness(1.08); }
.theme-futuristik .btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }

.theme-futuristik .lp-stat,
.theme-futuristik .tl-card,
.theme-futuristik .ann-card,
.theme-futuristik .committee-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(148,163,184,.22);
    backdrop-filter: blur(10px);
    color: #e6edf6;
    box-shadow: 0 8px 30px rgba(2,8,23,.35);
}
.theme-futuristik .lp-stat-num { color: #67e8f9; }
.theme-futuristik .lp-stat-lbl,
.theme-futuristik .tl-card p,
.theme-futuristik .ann-card p,
.theme-futuristik .committee-pos { color: #aebfd6; }
.theme-futuristik .lp-h2 { color: #fff; }
.theme-futuristik .lp-lead { color: #9fb0c9; }
.theme-futuristik .tl-card h3,
.theme-futuristik .ann-card h3,
.theme-futuristik .committee-name { color: #fff; }
.theme-futuristik .tl-date,
.theme-futuristik .ann-date { color: #67e8f9; }
.theme-futuristik .lp-section-alt { background: rgba(7,11,30,.35); }
.theme-futuristik .lp-footer { background: rgba(5,9,22,.7); border-top: 1px solid rgba(56,189,248,.18); color: #cbd5e1; }
.theme-futuristik .lp-footer .lp-brand-text strong { color: #fff; }
.theme-futuristik .committee-initials { background: rgba(34,211,238,.15); color: #67e8f9; }
