/* --- MANAGEMENT DESIGN SYSTEM --- */
:root {
    --primary-emerald: #0b3c2c;
    --academic-green: #075339;
    --bright-mint: #22c55e;
    --soft-mint-bg: #f0fdf4;
    --slate-dark: #0f172a;
    --slate-muted: #475569;
    --glass-white: rgba(255, 255, 255, 0.85);
    --border-light: rgba(226, 232, 240, 0.8);
    --shadow-premium: 0 20px 40px -15px rgba(11, 60, 44, 0.07);
    --shadow-hover: 0 30px 60px -20px rgba(11, 60, 44, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--slate-dark);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== BACKGROUND ALAM ===== */
.nature-background {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(11, 60, 44, 0.25) 0%, rgba(6, 36, 26, 0.35) 100%),
        url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: normal;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* ===== NAVIGASI ===== */
.main-navigation {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
}
.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

/* ===== BRAND WRAPPER ===== */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== UNDIKSHA BADGE DENGAN LOGO GAMBAR ===== */
.undiksha-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-emerald);
    color: white;
    padding: 6px 14px;
    border-radius: 14px;
}

/* ===== LOGO GAMBAR UNDIKSHA ===== */
.undiksha-logo-img {
    height: 34px;
    width: auto;
    display: block;
    border-radius: 4px;
    object-fit: contain;
}

.badge-text {
    display: flex;
    flex-direction: column;
}
.badge-text span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.badge-text small {
    font-size: 0.65rem;
    opacity: 0.8;
}

.brand-divider {
    width: 1px;
    height: 36px;
    background: #cbd5e1;
}

/* ===== MIPA LOGO ===== */
.mipa-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon-box {
    width: 38px;
    height: 38px;
    background: var(--soft-mint-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--academic-green);
    font-size: 1.2rem;
}
.mipa-logo h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-emerald);
    letter-spacing: -0.5px;
}
.mipa-logo h2 span {
    color: var(--academic-green);
    font-weight: 400;
}

/* ===== NAV LINKS - RAPI DENGAN FLEX-WRAP ===== */
.navigation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.nav-link {
    text-decoration: none;
    color: var(--slate-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-link i {
    font-size: 0.85rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--academic-green);
    background: rgba(27, 94, 70, 0.08);
}

.nav-link.active {
    background: var(--academic-green);
    color: white;
    box-shadow: 0 4px 14px rgba(7, 83, 57, 0.2);
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar {
    display: none;
}

/* ===== HERO ===== */
.dashboard-viewport {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px;
}
.dashboard-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    background: rgba(11, 60, 44, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 32px;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    margin-bottom: 48px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.academic-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--bright-mint);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(34, 197, 94, 0.2);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.main-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.text-gradient {
    background: linear-gradient(to right, #ffffff, #a3e2c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-paragraph {
    font-size: 1.1rem;
    line-height: 1.65;
    opacity: 0.92;
    margin-bottom: 36px;
    max-width: 620px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.hero-action-group {
    display: flex;
    gap: 16px;
}
.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-emerald);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.25s ease;
}
.primary-btn:hover {
    background: #a3e2c9;
    transform: translateY(-3px);
}
.secondary-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}
.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== FLOATING CARDS ===== */
.hero-visual-decoration {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}
.floating-science-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 280px;
    animation: floatAnimation 4s ease-in-out infinite;
}
.floating-science-card.c2 {
    animation-delay: 2s;
}
.floating-science-card i {
    font-size: 1.8rem;
    color: var(--bright-mint);
}
.floating-science-card h6 {
    font-size: 0.95rem;
    font-weight: 700;
}
.floating-science-card small {
    font-size: 0.75rem;
    opacity: 0.8;
}
@keyframes floatAnimation {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ===== FEATURES GRID ===== */
.features-grid-section {
    margin-bottom: 60px;
}
.section-title-wrapper {
    margin-bottom: 32px;
    text-align: center;
}
.section-title-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-emerald);
}
.section-title-wrapper p {
    font-size: 1rem;
    color: var(--slate-muted);
    margin-top: 4px;
}

/* ===== MACRO GRID ===== */
.macro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.macro-grid.bottom-grid {
    margin-bottom: 0;
}

/* ===== PREMIUM FEATURE CARD ===== */
.premium-feature-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 32px;
    text-decoration: none;
    color: var(--slate-dark);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-glow-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.premium-feature-card:hover .card-glow-layer {
    opacity: 1;
}
.premium-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--academic-green);
}
.card-icon-holder {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}
.premium-feature-card:hover .card-icon-holder {
    transform: scale(1.1) rotate(4deg);
}
.color-1 {
    background: #e0f2fe;
    color: #0284c7;
}
.color-2 {
    background: #dcfce7;
    color: #15803d;
}
.color-3 {
    background: #f3e8ff;
    color: #7e22ce;
}
.color-4 {
    background: #fef3c7;
    color: #b45309;
}
.color-5 {
    background: #fce4ec;
    color: #c62828;
}
.color-6 {
    background: #ede9fe;
    color: #7c3aed;
}

.card-body-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-emerald);
    margin-bottom: 12px;
}
.card-body-content p {
    font-size: 0.92rem;
    color: var(--slate-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}
.card-footer-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--academic-green);
}
.card-footer-action i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}
.premium-feature-card:hover .card-footer-action i {
    transform: translateX(4px);
}

/* ===== QUOTE ===== */
.academic-callout {
    margin-bottom: 48px;
}
.callout-inner {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 6px solid var(--academic-green);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-premium);
}
.quote-container {
    max-width: 80%;
}
.grid-quote-icon {
    font-size: 2rem;
    color: #e2e8f0;
    margin-bottom: 12px;
}
.quote-container blockquote {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--primary-emerald);
    font-style: italic;
    margin-bottom: 12px;
}
.quote-container cite {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate-muted);
    font-style: normal;
}
.callout-badge-decor i {
    font-size: 3.5rem;
    color: #f1f5f9;
}

/* ===== METRICS ===== */
.metrics-dashboard-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.metric-plate {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.metric-icon-box {
    width: 48px;
    height: 48px;
    background: var(--soft-mint-bg);
    color: var(--academic-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.metric-numbers h4 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-emerald);
}
.metric-numbers p {
    font-size: 0.85rem;
    color: var(--slate-muted);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.academic-footer {
    background: #061812;
    color: #94a3b8;
    padding: 60px 0 30px 0;
    border-top: 5px solid var(--academic-green);
}
.footer-core-area {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}
.footer-left-column {
    max-width: 500px;
}
.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.footer-brand-title i {
    color: var(--bright-mint);
}
.footer-brand-title span {
    color: var(--academic-green);
    font-weight: 400;
}
.footer-left-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-right-column h5 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.social-grid-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.social-anchor {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-anchor:hover {
    color: var(--bright-mint);
}
.footer-bottom-bar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.footer-tags span {
    background: rgba(34, 197, 94, 0.1);
    color: var(--bright-mint);
    padding: 4px 12px;
    border-radius: 6px;
}

/* ===== RIPPLE ===== */
.premium-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    transform: scale(0);
    animation: rippleWave 0.6s linear;
    pointer-events: none;
}
@keyframes rippleWave {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .hero-visual-decoration {
        display: none;
    }
    .main-hero-title {
        font-size: 2.5rem;
    }
    .macro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .macro-grid.bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navigation-links {
        display: none;
    }
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e2e8f0;
        z-index: 1000;
        justify-content: space-around;
        padding: 10px 0;
    }
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--slate-muted);
        font-size: 0.7rem;
        font-weight: 600;
    }
    .mobile-nav-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    .mobile-nav-item.active {
        color: var(--academic-green);
    }
    .macro-grid {
        grid-template-columns: 1fr;
    }
    .macro-grid.bottom-grid {
        grid-template-columns: 1fr;
    }
    .metrics-dashboard-row {
        grid-template-columns: 1fr;
    }
    .footer-core-area {
        flex-direction: column;
        gap: 32px;
    }
    .callout-inner {
        flex-direction: column;
        text-align: center;
    }
    .quote-container {
        max-width: 100%;
    }
    .callout-badge-decor {
        display: none;
    }
    .undiksha-logo-img {
        height: 28px;
    }
}

@media (max-width: 500px) {
    .dashboard-viewport {
        padding: 20px 12px;
    }
    .dashboard-hero {
        padding: 28px 20px;
    }
    .main-hero-title {
        font-size: 1.8rem;
    }
    .hero-paragraph {
        font-size: 0.95rem;
    }
    .hero-action-group {
        flex-direction: column;
        gap: 10px;
    }
    .primary-btn,
    .secondary-btn {
        justify-content: center;
        padding: 14px 20px;
    }
    .premium-feature-card {
        padding: 24px 18px;
    }
    .section-title-wrapper h3 {
        font-size: 1.4rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .undiksha-logo-img {
        height: 24px;
    }
}