:root {
    --primary: #818CF8; /* Soft Indigo */
    --primary-light: #A5B4FC;
    --secondary: #34D399; /* Soft Emerald */
    --secondary-dark: #059669;
    --accent: #FBBF24; /* Amber */
    --accent-dark: #D97706;
    --lilac: #A78BFA; /* Lilac Purple */
    --lilac-light: #DDD6FE;
    
    /* Tema Elegan Matte Lilac-Slate (Teduh di mata, tidak silau/putih) */
    --background: #1E202E; /* Abu-Lilac Teduh / Cool Dark Slate */
    --surface: #272A3D; /* Kartu Matte Lilac-Grey (Tidak silau) */
    --surface-hover: #31354D;
    --text-primary: #F1F5F9; /* Putih Gading Lembut (Tidak menyilaukan) */
    --text-secondary: #94A3B8; /* Slate Lembut */
    --text-muted: #64748B;
    --border: rgba(167, 139, 250, 0.2); /* Border Lilac Halus */
    --glass-bg: rgba(39, 42, 61, 0.85);
    --glass-border: rgba(167, 139, 250, 0.25);
    --glass-shadow: 0 10px 30px rgba(10, 12, 20, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    background-image: 
        radial-gradient(at 15% 15%, rgba(139, 92, 246, 0.15) 0px, transparent 60%),
        radial-gradient(at 85% 25%, rgba(99, 102, 241, 0.15) 0px, transparent 60%),
        radial-gradient(at 50% 85%, rgba(52, 211, 153, 0.1) 0px, transparent 60%),
        linear-gradient(180deg, #1E202E 0%, #25283B 50%, #1A1C28 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes for Glassmorphism Context */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 22s infinite alternate;
}

.shape-1 {
    top: -15%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
    animation-delay: -5s;
}

.shape-3 {
    top: 30%;
    left: 25%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3%, -3%) scale(1.05); }
    66% { transform: translate(-3%, 5%) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Typography & General */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.85rem 0;
    z-index: 1000;
    background: rgba(23, 26, 38, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(167, 139, 250, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(20, 22, 34, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(167, 139, 250, 0.22);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

/* Brand / Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(167, 139, 250, 0.25));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(167, 139, 250, 0.45));
    transform: translateY(-1px) scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: 0.3px;
}

.logo-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--lilac-light);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Nav Menu Wrapper & Capsule Links */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    background: rgba(30, 33, 49, 0.65);
    padding: 0.35rem 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(167, 139, 250, 0.18);
    box-shadow: 0 4px 16px rgba(10, 12, 20, 0.25) inset;
    gap: 0.2rem;
}

.nav-link {
    white-space: nowrap !important;
    padding: 0.5rem 1.05rem;
    border-radius: 40px;
    color: #94A3B8;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
    letter-spacing: 0.2px;
    display: inline-block;
    position: relative;
}

.nav-link:hover {
    color: #FFFFFF;
    background: rgba(167, 139, 250, 0.14);
}

.nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(167, 139, 250, 0.25));
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.25);
}

.btn-login {
    white-space: nowrap !important;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #FFFFFF !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.55);
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: var(--lilac-light);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-toggle:hover {
    background: var(--primary);
    color: #FFF;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lilac-light);
    margin-bottom: 1.5rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(10, 12, 20, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #FFFFFF 40%, #DDD6FE 80%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
    filter: drop-shadow(0 4px 20px rgba(167, 139, 250, 0.25));
}

.hero h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(52, 211, 153, 0.25);
}

.hero p {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 750px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
}

.btn-secondary-outline {
    background: rgba(39, 42, 61, 0.7);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: var(--lilac-light);
    backdrop-filter: blur(10px);
}

.btn-secondary-outline:hover {
    background: rgba(49, 53, 77, 0.95);
    border-color: var(--lilac);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.btn-primary i, .btn-secondary-outline i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateY(-1px);
}

/* AMI Section */
.ami-section {
    padding: 6rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    background: #272A3D; /* Matte Lilac Slate - Bebas Silau */
    border: 1px solid rgba(167, 139, 250, 0.22);
    box-shadow: 0 10px 30px rgba(10, 12, 20, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.card > * {
    z-index: 1;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 20px 40px rgba(10, 12, 20, 0.55), 0 0 20px rgba(167, 139, 250, 0.2);
    background: #31354D;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 32, 46, 0.85);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(167, 139, 250, 0.25);
    box-shadow: 0 4px 12px rgba(10, 12, 20, 0.3);
}

.icon-primary { color: #A5B4FC; }
.icon-secondary { color: #6EE7B7; }
.icon-accent { color: #FCD34D; }

.card:hover .card-icon {
    transform: scale(1.12) rotate(-4deg);
}

.card:hover .icon-primary { background: #6366F1; color: white; box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4); border-color: transparent;}
.card:hover .icon-secondary { background: #059669; color: white; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); border-color: transparent;}
.card:hover .icon-accent { background: #D97706; color: white; box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4); border-color: transparent;}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F8FAFC;
}

.card p {
    color: var(--text-secondary);
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--lilac-light);
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card:hover .card-link i {
    transform: translateX(6px);
}

.card:nth-child(1):hover .card-link { color: #C7D2FE; }
.card:nth-child(2):hover .card-link { color: #A7F3D0; }
.card:nth-child(3):hover .card-link { color: #FDE68A; }


/* Info Container */
.info-container {
    padding: 3rem;
    background: #272A3D; /* Bebas silau putih */
    border: 1px solid rgba(167, 139, 250, 0.22);
    box-shadow: 0 12px 35px rgba(10, 12, 20, 0.35);
}

.info-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.2);
    padding-bottom: 1.5rem;
}

.info-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #F8FAFC;
    font-size: 1.5rem;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
}

.info-icon {
    font-size: 1.5rem;
    color: #A5B4FC;
    background: rgba(99, 102, 241, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.info-text h4 {
    color: #F8FAFC;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ========================================================
   DOKUMEN MUTU STYLES
   ======================================================== */
.doc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.doc-filter-btn {
    background: rgba(39, 42, 61, 0.7);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: var(--text-secondary);
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-filter-btn:hover {
    background: rgba(49, 53, 77, 0.9);
    color: #FFFFFF;
    border-color: var(--lilac);
}

.doc-filter-btn.active {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.doc-card {
    background: #272A3D;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(10, 12, 20, 0.3);
}

.doc-card:hover {
    transform: translateY(-7px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 16px 35px rgba(10, 12, 20, 0.5), 0 0 20px rgba(167, 139, 250, 0.15);
    background: #2D3147;
}

.doc-badge {
    align-self: flex-start;
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--lilac-light);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.doc-icon {
    font-size: 2.2rem;
    color: var(--primary-light);
    margin: 0.25rem 0;
}

.doc-card h3 {
    font-size: 1.3rem;
    color: #F8FAFC;
    font-weight: 700;
    line-height: 1.35;
}

.doc-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #94A3B8;
    border-top: 1px solid rgba(167, 139, 250, 0.15);
    padding-top: 1rem;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    color: #C7D2FE;
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-download:hover {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}

/* ========================================================
   KALENDER KEGIATAN SPMI
   ======================================================== */
.calendar-wrapper {
    background: #272A3D;
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 12px 35px rgba(10, 12, 20, 0.4);
}

.calendar-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.18);
    padding-bottom: 1.5rem;
}

.calendar-month-title {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.calendar-month-title h3 {
    font-size: 1.5rem;
    color: #F8FAFC;
    font-weight: 800;
    min-width: 180px;
    text-align: center;
}

.cal-nav-btn {
    background: rgba(39, 42, 61, 0.8);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--lilac-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cal-nav-btn:hover {
    background: var(--lilac);
    color: #FFFFFF;
    transform: scale(1.08);
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-ami, .tag-ami { background: #6366F1; color: white; }
.dot-rtm, .tag-rtm { background: #EF4444; color: white; }
.dot-survei, .tag-survei { background: #10B981; color: white; }
.dot-workshop, .tag-workshop { background: #F59E0B; color: white; }

.calendar-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
}

.calendar-box {
    background: rgba(30, 32, 46, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 18px;
    padding: 1.5rem;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    color: var(--lilac-light);
    font-size: 0.88rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.calendar-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.cal-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    background: rgba(39, 42, 61, 0.4);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.cal-cell:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.4);
}

.cal-cell.today {
    border-color: var(--lilac);
    background: rgba(139, 92, 246, 0.25);
    color: #FFFFFF;
    font-weight: 800;
}

.cal-cell.has-event::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lilac-light);
}

.cal-cell.event-ami::after { background: #818CF8; }
.cal-cell.event-survei::after { background: #34D399; }
.cal-cell.event-rtm::after { background: #F87171; }
.cal-cell.event-workshop::after { background: #FBBF24; }

.cal-cell.empty {
    background: transparent;
    cursor: default;
}

.events-agenda-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.events-agenda-box h4 {
    font-size: 1.25rem;
    color: #F8FAFC;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    background: rgba(30, 32, 46, 0.6);
    border: 1px solid rgba(167, 139, 250, 0.18);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(43, 46, 66, 0.85);
    border-color: rgba(167, 139, 250, 0.4);
    transform: translateX(5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 12px;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
}

.date-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F8FAFC;
    line-height: 1;
}

.date-month {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--lilac-light);
    text-transform: uppercase;
}

.event-info {
    flex-grow: 1;
}

.event-info h5 {
    font-size: 1.05rem;
    color: #F8FAFC;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.event-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

/* ========================================================
   LAPORAN SURVEI PPEPP
   ======================================================== */
.survey-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.metric-card {
    background: #272A3D;
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 18px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(10, 12, 20, 0.3);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(167, 139, 250, 0.45);
    background: #2D3147;
}

.metric-icon {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 0.3rem;
}

.metric-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: #F8FAFC;
    line-height: 1;
}

.metric-lbl {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.surveys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.survey-card {
    background: #272A3D;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.35s ease;
    box-shadow: 0 8px 25px rgba(10, 12, 20, 0.3);
}

.survey-card:hover {
    transform: translateY(-7px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 16px 35px rgba(10, 12, 20, 0.5), 0 0 20px rgba(167, 139, 250, 0.15);
    background: #2D3147;
}

.survey-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94A3B8;
}

.survey-status {
    color: #34D399;
    font-weight: 600;
}

.survey-card h4 {
    font-size: 1.25rem;
    color: #F8FAFC;
    font-weight: 700;
    line-height: 1.35;
}

.survey-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.survey-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #94A3B8;
    background: rgba(30, 32, 46, 0.5);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.12);
}

.survey-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.btn-survey-view {
    flex: 1;
    background: rgba(167, 139, 250, 0.15);
    color: var(--lilac-light);
    border: 1px solid rgba(167, 139, 250, 0.3);
    padding: 0.65rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-survey-view:hover {
    background: rgba(167, 139, 250, 0.25);
    color: #FFFFFF;
}

.btn-survey-dl {
    flex: 1;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: #FFFFFF;
    padding: 0.65rem;
    border-radius: 10px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-survey-dl:hover {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.text-lilac { color: var(--lilac-light); }
.mt-4 { margin-top: 2rem; }

.footer-subtext {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-link {
        padding: 0.45rem 0.75rem;
        font-size: 0.84rem;
    }
    .nav-links {
        gap: 0.15rem;
    }
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .hero h2 { font-size: 2rem; }
    .cards-container { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

    /* Mobile / Tablet Nav Drawer */
    .mobile-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(20, 22, 34, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 1.8rem;
        border-bottom: 1px solid rgba(167, 139, 250, 0.22);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
        gap: 1.2rem;
        transform: translateY(-160%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-menu-wrapper.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 0.5rem;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero { padding-top: 8.5rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero h2 { font-size: 1.5rem; }
    .cards-container { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2.25rem; }
}
