/**
 * landing.css — Stylesheet Mandiri Halaman Depan / Landing Page
 * SD Muhammadiyah Prambanan (LUMINA)
 */

:root {
    --primary:    #4f46e5;
    --primary-d:  #3730a3;
    --secondary:  #7c3aed;
    --accent:     #06b6d4;
    --success:    #10b981;
    --warning:    #f59e0b;
    --danger:     #ef4444;
    --dark:       #0f172a;
    --gray-50:    #f8fafc;
    --gray-100:   #f1f5f9;
    --gray-200:   #e2e8f0;
    --gray-600:   #475569;
    --gray-800:   #1e293b;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
}

/* ====== NAVBAR ====== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    text-decoration: none;
}
.navbar-brand img { height: 36px; width: 36px; object-fit: contain; border-radius: 8px; }
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}
.navbar-nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: color .2s;
}
.navbar-nav a:hover { color: var(--primary); }
.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff !important;
    padding: .5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(79,70,229,.35);
}
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79,70,229,.45); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.25rem; color: var(--dark); }

/* ====== HERO ====== */
@keyframes heroBgShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes floatUp {
    0%   { transform: translateY(0)   rotate(0deg)  scale(1);   opacity: 0.18; }
    25%  { transform: translateY(-30px) rotate(10deg) scale(1.1); opacity: 0.28; }
    50%  { transform: translateY(-60px) rotate(-8deg) scale(0.95); opacity: 0.22; }
    75%  { transform: translateY(-90px) rotate(14deg) scale(1.05); opacity: 0.25; }
    100% { transform: translateY(-130px) rotate(0deg) scale(1);  opacity: 0; }
}
@keyframes heroTitleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(165,180,252,0.4), 0 0 40px rgba(196,181,253,0.2); }
    50%       { text-shadow: 0 0 40px rgba(165,180,252,0.7), 0 0 80px rgba(196,181,253,0.4); }
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
    50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0.07); }
}
.hero {
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #312e81, #4f46e5, #7c3aed, #0891b2, #0f172a, #1e1b4b);
    background-size: 400% 400%;
    animation: heroBgShift 12s ease infinite;
    padding: 7rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Noise texture overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
/* Radial highlight */
.hero::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.35) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: heroBgShift 16s ease infinite reverse;
}
/* Hero content above overlays */
.hero-content { position: relative; z-index: 2; }
/* Floating icons layer */
.hero-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero-float-icon {
    position: absolute;
    color: rgba(255,255,255, 0.22);
    font-size: 1.5rem;
    animation: floatUp linear infinite;
    bottom: -10%;
    filter: blur(0.5px);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: .4rem 1.125rem;
    color: rgba(255,255,255,.95);
    font-size: .8125rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(12px);
    animation: badgePulse 3s ease-in-out infinite;
    letter-spacing: .03em;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1.125rem;
    letter-spacing: -0.03em;
    animation: heroTitleGlow 4s ease-in-out infinite;
}
.hero h1 span {
    background: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 40%, #93c5fd 80%, #6ee7f7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroBgShift 6s ease infinite;
}
.hero p {
    color: rgba(255,255,255,.78);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto 2.25rem;
    line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
    background: rgba(255,255,255,0.97);
    color: var(--primary);
    padding: .85rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9375rem;
    text-decoration: none;
    transition: all .25s cubic-bezier(0.25,1,0.5,1);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-hero-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.btn-hero-secondary {
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
    padding: .85rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9375rem;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: all .25s cubic-bezier(0.25,1,0.5,1);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); border-color: rgba(255,255,255,.5); }

/* ====== SECTION ====== */
.section {
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(79,70,229,.08);
    color: var(--primary);
    border-radius: 50px;
    padding: .375rem .875rem;
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: .5rem;
    letter-spacing: -0.02em;
}
.section-sub {
    color: var(--gray-600);
    font-size: 1.0625rem;
    margin-bottom: 3rem;
}

/* ====== STAT CARDS ====== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card.blue::before   { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.stat-card.teal::before   { background: linear-gradient(90deg, #06b6d4, #67e8f9); }
.stat-card.pink::before   { background: linear-gradient(90deg, #ec4899, #f9a8d4); }
.stat-card.green::before  { background: linear-gradient(90deg, #10b981, #6ee7b7); }
.stat-card.amber::before  { background: linear-gradient(90deg, #f59e0b, #fde68a); }
.stat-card.violet::before { background: linear-gradient(90deg, #7c3aed, #c4b5fd); }
.stat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.stat-card.blue   .stat-icon { background: rgba(79,70,229,.1); color: var(--primary); }
.stat-card.teal   .stat-icon { background: rgba(6,182,212,.1); color: #0891b2; }
.stat-card.pink   .stat-icon { background: rgba(236,72,153,.1); color: #db2777; }
.stat-card.green  .stat-icon { background: rgba(16,185,129,.1); color: #059669; }
.stat-card.amber  .stat-icon { background: rgba(245,158,11,.1); color: #d97706; }
.stat-card.violet .stat-icon { background: rgba(124,58,237,.1); color: #7c3aed; }
.stat-num {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
    margin-bottom: .25rem;
}
.stat-label { font-size: .8125rem; color: var(--gray-600); font-weight: 500; }

/* ====== ALUMNI SECTION ====== */
.alumni-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.alumni-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.alumni-header h3 { color: #fff; font-size: 1.125rem; font-weight: 700; }
.filter-group { display: flex; gap: .75rem; flex-wrap: wrap; }
.filter-select {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    padding: .4rem .875rem;
    border-radius: 8px;
    font-size: .875rem;
    cursor: pointer;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.filter-select option { background: var(--dark); color: #fff; }
#searchAlumni::placeholder { color: rgba(255,255,255,0.75); }
#searchAlumni:focus { border-color: rgba(255,255,255,0.8) !important; background: rgba(255,255,255,0.25) !important; }
.alumni-body { padding: 1.5rem; overflow-x: auto; }
.alumni-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}
.alumni-table thead th {
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 600;
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}
.alumni-table tbody tr { border-bottom: 1px solid var(--gray-100); transition: background .15s; }
.alumni-table tbody tr:hover { background: var(--gray-50); }
.alumni-table tbody td { padding: .875rem 1rem; vertical-align: middle; }
.badge-jk {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .2rem .625rem; border-radius: 50px; font-size: .75rem; font-weight: 600;
}
.badge-l { background: rgba(79,70,229,.1); color: var(--primary); }
.badge-p { background: rgba(236,72,153,.1); color: #db2777; }
.badge-sekolah {
    background: rgba(16,185,129,.1);
    color: #059669;
    padding: .2rem .625rem;
    border-radius: 6px;
    font-size: .8125rem;
    font-weight: 500;
}
.badge-unknown { background: var(--gray-100); color: var(--gray-600); font-style: italic; }

/* ====== STATS ALUMNI (1 BARIS) ====== */
.stats-alumni-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.stat-mini-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    min-width: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.stat-mini-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.stat-mini-card .stat-info {
    min-width: 0;
    flex: 1;
}
.stat-mini-card .stat-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stat-mini-card .stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-top: 3px;
}
@media (max-width: 991px) {
    .stats-alumni-grid {
        gap: 0.75rem;
    }
    .stat-mini-card {
        padding: 1rem 0.85rem;
        gap: 0.75rem;
    }
    .stat-mini-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
        border-radius: 10px;
    }
    .stat-mini-card .stat-title {
        font-size: 0.7rem;
    }
    .stat-mini-card .stat-value {
        font-size: 1.15rem;
    }
}
@media (max-width: 576px) {
    .stats-alumni-grid {
        gap: 0.5rem;
    }
    .stat-mini-card {
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
        border-radius: 10px;
    }
    .stat-mini-card .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    .stat-mini-card .stat-title {
        font-size: 0.6rem;
        letter-spacing: 0;
    }
    .stat-mini-card .stat-value {
        font-size: 0.95rem;
    }
    .stat-mini-card .stat-value span {
        display: block;
        font-size: 0.72rem !important;
    }
}

/* ====== WRAPPING SCHOOL TAGS ====== */
.sekolah-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0.2rem;
}
.sekolah-tag-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.85rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.sekolah-tag-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}
.sekolah-tag-btn.active {
    background: #f8fafc;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.18), 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}
.sekolah-tag-btn.is-belum {
    border-color: #fecaca;
    background: #fffafa;
}
.sekolah-tag-btn.is-belum:hover {
    border-color: #ef4444;
    color: #ef4444;
}
.sekolah-tag-btn.is-belum.active {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.18), 0 4px 12px rgba(0,0,0,0.06);
}
.sekolah-color-box {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    display: inline-block;
}
.sekolah-tag-name {
    line-height: 1.25;
}
.sekolah-tag-count {
    background: #f1f5f9;
    color: var(--gray-600);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
}
.sekolah-tag-btn.active .sekolah-tag-count {
    background: var(--primary);
    color: #fff;
}
.sekolah-tag-btn.is-belum.active .sekolah-tag-count {
    background: #ef4444;
    color: #fff;
}

/* Detail Panel Bawah dengan Animasi */
.sekolah-detail-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-12px);
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.sekolah-detail-panel.show {
    max-height: 3500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.sekolah-detail-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    margin-top: 0.5rem;
}
.sekolah-detail-card.is-belum-card {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(180deg, #fffafb 0%, #fff 100%);
}
.btn-hide-detail {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--gray-600);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.btn-hide-detail:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* ====== CHART ====== */
.chart-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.chart-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    min-width: 0;
}
.chart-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .25rem; }
.chart-card p  { font-size: .8125rem; color: var(--gray-600); margin-bottom: 1.25rem; }
.chart-container { position: relative; height: 280px; }

/* ====== TILT 3D ====== */
.tilt-card {
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ====== WALI KELAS ====== */
.wali-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0.5rem;
}
.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
}
.carousel-track .wali-card {
    width: 260px;
    flex-shrink: 0;
}
.wali-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.wali-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wali-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-200);
    margin: 0 auto 1rem;
    display: block;
}
.wali-kelas-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 50px;
    margin-bottom: .75rem;
}
.wali-name { font-weight: 700; font-size: .9375rem; color: var(--dark); margin-bottom: .25rem; }
.wali-kurikulum { font-size: .75rem; color: var(--gray-600); }
.wali-jumlah { font-size: .8125rem; color: var(--primary); font-weight: 600; margin-top: .5rem; }

/* ====== GURU GRID ====== */
.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.guru-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.guru-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.guru-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
    margin: 0 auto .75rem;
    display: block;
}
.guru-name { font-weight: 600; font-size: .8125rem; color: var(--dark); margin-bottom: .25rem; line-height: 1.3; }
.guru-jabatan {
    font-size: .7rem;
    background: rgba(79,70,229,.08);
    color: var(--primary);
    padding: .15rem .5rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-block;
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 3rem 2rem;
    text-align: center;
}
.footer strong { color: #fff; }
.footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ====== DIVIDER ====== */
.divider {
    background: linear-gradient(to right, transparent, var(--gray-200), transparent);
    height: 1px;
    margin: 0 auto;
}

/* ====== PAGINATION ====== */
.alumni-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--gray-200);
}
.page-btn {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    padding: .5rem 1.125rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all .2s;
}
.page-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-info { font-size: .875rem; color: var(--gray-600); font-weight: 500; }

/* ====== SEKSI ADUAN & MASUKAN ORANG TUA CTA ====== */
.nav-aduan-link {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: rgba(79, 70, 229, 0.08);
    padding: 0.35rem 0.95rem !important;
    border-radius: 50px;
    border: 1px solid rgba(79, 70, 229, 0.2);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.nav-aduan-link:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.section-aduan-cta {
    padding: 4.5rem 1.5rem;
    position: relative;
}
.aduan-cta-card {
    max-width: 980px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(49, 46, 129, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.aduan-cta-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(99, 102, 241, 0) 70%);
    top: -100px;
    right: -80px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
    animation: orbFloat 14s infinite alternate ease-in-out;
}
.aduan-cta-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}
.aduan-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.aduan-cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.aduan-cta-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #c7d2fe;
    margin-bottom: 2rem;
}
.aduan-cta-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}
.aduan-feat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #e0e7ff;
}
.aduan-feat-item i {
    color: #34d399;
    font-size: 1.1rem;
}
.btn-open-portal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    color: #312e81 !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-open-portal i {
    transition: transform 0.25s ease;
}
.btn-open-portal:hover {
    background: #f8fafc;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #1e1b4b !important;
}
.btn-open-portal:hover i {
    transform: translateX(4px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 1rem 2rem; border-bottom: 1px solid var(--gray-200); gap: 1rem; z-index: 99; }
    .nav-toggle { display: block; }
    .chart-wrap { grid-template-columns: 1fr; }
    .hero { padding: 4rem 1.5rem 3rem; }
    .section { padding: 3rem 1.25rem; }
    .alumni-header { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .stat-card { padding: 1.25rem 1rem; }
    .stat-num { font-size: 2rem; }
    .stat-icon { width: 42px; height: 42px; margin-bottom: .75rem; font-size: 1.1rem; }
    .stat-label { font-size: .75rem; }
    .carousel-track .wali-card { width: 200px; }
    .filter-group { flex-direction: column; width: 100%; }
    .filter-group select { width: 100%; }
    .chart-wrap { gap: .625rem; }
    .chart-card { padding: .875rem .75rem; }
    .chart-card h4 { font-size: .8125rem; }
    .chart-card p  { font-size: .7rem; margin-bottom: .75rem; }
    .chart-container { height: 180px; }
}

/* ====================================================== */
/* TEMPLATE MODE RESPONSIVE (DESKTOP VS PONSEL SEPERTI KARYA) */
/* ====================================================== */
.desktop-only {
    display: block !important;
}
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block !important;
    }
    body {
        padding-bottom: 68px !important;
    }
}

/* ====== DESKTOP COMPACT MENU (PERSIS SEPERTI GAMBAR) ====== */
.desktop-ribbon-section {
    position: relative;
    background: #f8fafc;
    padding: 3rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}
.desktop-ribbon-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.desktop-ribbon-sub {
    font-size: 0.84rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}
.desktop-ribbon-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0;
}
/* Garis horizontal hijau melintang persis di tengah kartu */
.desktop-ribbon-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #00875a;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}
.compact-menu-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.compact-card {
    background: #ffffff;
    width: 104px;
    height: 96px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 0.45rem;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    padding: 0.5rem;
}
.compact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #00875a;
}
.compact-card .compact-icon {
    font-size: 1.5rem;
    color: #1e3a5f;
    transition: all 0.25s ease;
}
.compact-card:hover .compact-icon {
    color: #00875a;
    transform: scale(1.12);
}
.compact-card .compact-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}
.compact-card:hover .compact-label {
    color: #00875a;
}

/* ====== PONSEL / MOBILE IN-PAGE TEMPLATE ====== */
.mobile-quick-menu-section {
    background: #ffffff;
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid var(--gray-200);
}
.mobile-quick-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.mobile-quick-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.mobile-quick-title i {
    color: #00875a;
}
.mobile-quick-badge {
    font-size: 0.68rem;
    background: #ecfdf5;
    color: #059669;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
}
.mobile-quick-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem 0.2rem 0.6rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.mobile-quick-scroll::-webkit-scrollbar {
    display: none;
}
.mobile-quick-card {
    flex: 0 0 92px;
    height: 86px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: transform 0.2s;
}
.mobile-quick-card:active {
    transform: scale(0.96);
    background: #f8fafc;
}
.mobile-quick-card .quick-icon {
    font-size: 1.35rem;
    color: #1e3a5f;
}
.mobile-quick-card .quick-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    line-height: 1.15;
}

/* ====== STICKY BOTTOM NAV BAR (KHUSUS MODE PONSEL) ====== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 9999;
    padding: 0 0.25rem;
}
.mobile-bottom-nav a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    gap: 3px;
    transition: color 0.15s ease;
    position: relative;
}
.mobile-bottom-nav a i {
    font-size: 1.18rem;
}
.mobile-bottom-nav a span {
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
}
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a:active,
.mobile-bottom-nav a.active {
    color: #00875a;
}
.mobile-bottom-nav a.active i {
    transform: scale(1.1);
}
