:root{
    --navy-950:#0a1220; --navy-900:#0f1b33; --navy-800:#152548;
    --gold:#c9a24b; --gold-light:#e6c878; --gold-soft:rgba(201,162,75,.14);
    --ivory:#faf7f0; --ivory-dim:#f1ede2; --slate-600:#5b6478;
    --line:rgba(15,27,51,.08);
    --shadow-soft:0 10px 34px rgba(10,18,32,.08);
    --shadow-hover:0 22px 48px rgba(10,18,32,.16);
    --radius-lg:22px; --radius-md:16px;
    --font-serif:'Playfair Display', Georgia, serif;
}
*{ box-sizing:border-box; }
body{
    margin:0; font-family:'Poppins', sans-serif;
    color:var(--navy-950); background:var(--ivory);
    -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
.container{ max-width:1080px; margin:0 auto; padding:0 24px; }

/* ---------- HERO / NAVBAR ---------- */
.topnav{
    display:flex; align-items:center; justify-content:space-between;
    padding:1.1rem 0;
}
.topnav .brand{
    display:flex; align-items:center; gap:.6rem;
    font-family:var(--font-serif); font-weight:700; color:#fff; font-size:1.05rem;
}
.topnav .brand i{ color:var(--gold-light); }
.topnav a.admin-link{
    display:inline-flex; align-items:center; gap:.4rem;
    color:rgba(250,247,240,.7); font-size:.82rem; font-weight:600;
    border:1px solid rgba(201,162,75,.3); padding:.4rem .9rem; border-radius:50px;
    transition:all .2s ease;
}
.topnav a.admin-link:hover{ background:var(--gold-soft); color:var(--gold-light); }

.hero{
    position:relative; overflow:hidden;
    padding:0 0 70px;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(201,162,75,.18), transparent 45%),
        radial-gradient(ellipse at 88% 85%, rgba(201,162,75,.10), transparent 50%),
        linear-gradient(150deg,var(--navy-950) 0%,var(--navy-900) 45%,var(--navy-800) 100%);
}
.hero::before{
    content:""; position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size:56px 56px;
    mask-image:radial-gradient(ellipse at center, black 0%, transparent 75%);
}
.hero-inner{ position:relative; z-index:1; text-align:center; padding-top:2.4rem; }
.eyebrow{
    display:inline-flex; align-items:center; gap:.5rem;
    background:var(--gold-soft); border:1px solid rgba(201,162,75,.4);
    color:var(--gold-light); padding:.5rem 1.1rem; border-radius:50px;
    font-size:.76rem; font-weight:700; letter-spacing:1.4px; text-transform:uppercase;
}
.hero h1{
    font-family:var(--font-serif); color:#fff; font-weight:700;
    font-size:clamp(1.9rem,4vw,2.9rem); line-height:1.25;
    margin:1.2rem auto .9rem; max-width:720px;
}
.hero p{
    color:rgba(250,247,240,.7); font-size:1.02rem; line-height:1.75;
    max-width:600px; margin:0 auto;
}

.stat-strip{
    position:relative; z-index:2; margin-top:-52px;
    display:grid; grid-template-columns:repeat(4,1fr); gap:16px;
}
.stat-box{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
    box-shadow:var(--shadow-hover); padding:1.4rem 1rem; text-align:center;
}
.stat-box .num{ font-family:var(--font-serif); font-weight:800; font-size:2rem; color:var(--navy-950); line-height:1; }
.stat-box .lbl{ margin-top:.5rem; font-size:.72rem; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--slate-600); }

/* ---------- SECTION ---------- */
.section{ padding:80px 0 100px; }
.section-head{ text-align:center; max-width:640px; margin:0 auto 3rem; }
.section-eyebrow{ display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:1.6px; text-transform:uppercase; color:var(--gold); margin-bottom:.5rem; }
.section-title{ font-family:var(--font-serif); font-weight:700; color:var(--navy-950); font-size:clamp(1.7rem,3vw,2.2rem); margin:0; }
.section-divider{ width:54px; height:3px; border-radius:4px; background:var(--gold); margin:1.1rem auto 0; }

.obe-note{
    display:flex; align-items:flex-start; gap:1rem;
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
    box-shadow:var(--shadow-soft); padding:1.3rem 1.5rem; margin-bottom:2.2rem;
}
.obe-note i{ font-size:1.5rem; color:var(--gold); flex:0 0 auto; margin-top:.1rem; }
.obe-note p{ color:var(--slate-600); font-size:.9rem; line-height:1.75; margin:0; }
.obe-note strong{ color:var(--navy-950); }

/* ---------- ACCORDION MATA KULIAH ---------- */
.mk-item{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft); margin-bottom:20px; overflow:hidden;
    transition:box-shadow .3s ease, border-color .3s ease;
}
.mk-item.open{ box-shadow:var(--shadow-hover); border-color:rgba(201,162,75,.3); }
.mk-head{ display:flex; align-items:center; gap:1rem; padding:1.4rem 1.7rem; cursor:pointer; user-select:none; }
.mk-icon{
    width:52px;height:52px; flex:0 0 auto; display:flex;align-items:center;justify-content:center;
    border-radius:14px; background:linear-gradient(135deg,var(--navy-800),var(--navy-950));
    color:var(--gold-light); font-size:1.3rem; box-shadow:0 10px 22px rgba(15,27,51,.25);
}
.mk-head-text{ flex:1; min-width:0; }
.mk-head-text .kode{
    display:inline-flex; align-items:center; gap:.35rem; background:var(--gold-soft); color:#9c7a2e;
    font-size:.7rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase;
    padding:.22rem .65rem; border-radius:50px; margin-bottom:.4rem;
}
.mk-head-text h3{ font-family:var(--font-serif); font-weight:700; color:var(--navy-950); font-size:1.12rem; margin:0; line-height:1.4; }
.mk-head-text .sub{ font-size:.78rem; color:var(--slate-600); margin-top:.3rem; }
.mk-score{ flex:0 0 auto; text-align:center; display:flex; flex-direction:column; align-items:center; }
.mk-score .val{ font-family:var(--font-serif); font-weight:800; font-size:1.5rem; color:var(--navy-950); line-height:1; }
.mk-score .lbl{ font-size:.62rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--slate-600); margin-top:.25rem; }
.mk-chevron{
    flex:0 0 auto; width:34px;height:34px; border-radius:50%; background:var(--ivory-dim);
    display:flex;align-items:center;justify-content:center; color:var(--navy-900); font-size:.9rem;
    transition:transform .3s ease, background .25s ease;
}
.mk-item.open .mk-chevron{ transform:rotate(180deg); background:var(--gold-soft); color:#9c7a2e; }
.mk-body{ max-height:0; overflow:hidden; transition:max-height .45s ease; }
.mk-body-inner{ padding:0 1.7rem 1.9rem; border-top:1px dashed var(--line); }

.block-title{ display:flex; align-items:center; gap:.6rem; font-size:.76rem; font-weight:700; letter-spacing:.9px; text-transform:uppercase; color:var(--gold); margin:1.6rem 0 1rem; }

.cpl-list{ list-style:none; margin:0; padding:0; }
.cpl-list li{ display:flex; align-items:flex-start; gap:.7rem; background:var(--ivory-dim); border-radius:12px; padding:.85rem 1rem; margin-bottom:.6rem; font-size:.87rem; color:var(--navy-900); line-height:1.6; }
.cpl-list li:last-child{ margin-bottom:0; }
.cpl-list li b{ flex:0 0 auto; background:var(--navy-950); color:var(--gold-light); font-size:.7rem; font-weight:700; padding:.25rem .55rem; border-radius:6px; font-family:'Courier New', monospace; }

.cpmk-detail{ border:1px solid var(--line); border-radius:14px; padding:1rem 1.2rem; margin-bottom:.8rem; }
.cpmk-detail:last-child{ margin-bottom:0; }
.cpmk-detail-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:.6rem; }
.cpmk-detail-head .txt{ font-size:.87rem; color:var(--navy-900); line-height:1.6; font-weight:500; }
.cpmk-detail-head .pct{ flex:0 0 auto; font-family:var(--font-serif); font-weight:800; font-size:1.05rem; color:var(--navy-950); }
.cpl-tag-sm{ display:inline-block; background:var(--gold-soft); color:#9c7a2e; font-size:.68rem; font-weight:700; padding:.2rem .55rem; border-radius:6px; margin:0 .3rem .3rem 0; }
.progress-track{ width:100%; height:7px; border-radius:8px; background:var(--ivory-dim); overflow:hidden; }
.progress-fill{ height:100%; border-radius:8px; background:linear-gradient(90deg,var(--gold),var(--gold-light)); }

.empty-state{ text-align:center; padding:4rem 1rem; background:#fff; border:1px dashed var(--line); border-radius:var(--radius-lg); color:var(--slate-600); }
.empty-state i{ font-size:2.4rem; color:var(--gold); margin-bottom:1rem; display:block; }

footer{ text-align:center; padding:2.4rem 0 3rem; color:var(--slate-600); font-size:.82rem; }

@media (max-width:991px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){
    .stat-strip{ grid-template-columns:repeat(2,1fr); margin-top:-30px; }
    .section{ padding:60px 0 70px; }
    .mk-head{ flex-wrap:wrap; }
}
