:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --bg-soft: #f8fffe;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-soft);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* DIPERBAIKI: hapus overflow:hidden dan height:100vh dari body global
       agar halaman lain (laporan, dsb.) tetap bisa scroll.
       Khusus halaman landing dikunci via class .page-landing di bawah. */
}

html {
    scroll-behavior: smooth;
    /* DIPERBAIKI: hapus overflow:hidden dan height:100vh dari html global */
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    overflow: visible;
}

.decorative-circle {
    position: fixed;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.bg-pattern {
    position: relative;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.logo-container img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu {
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stats-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.illustration-wrapper {
    position: relative;
    perspective: 1000px;
}

.illustration-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.illustration-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge {
    background: white;
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    z-index: 10;
}

.floating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.floating-badge-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-compact {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}

.animate-fade-in  { animation: fadeIn 0.6s ease-out; }
.animate-slide-up { animation: slideUp 0.6s ease-out; animation-fill-mode: both; }
.animate-float    { animation: float 3s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ═══════════════════════════════════════
   HALAMAN LANDING — dikunci scroll di sini
   (pakai class .page-landing pada <body> di blade landing)
═══════════════════════════════════════ */
body.page-landing {
    overflow: hidden;
    height: 100vh;
}

html:has(body.page-landing) {
    overflow: hidden;
    height: 100vh;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .stat-number { font-size: 20px; }
    .stat-label  { font-size: 11px; }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .footer-compact { position: relative; }

    .stats-compact {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .stat-number { font-size: 20px; }
    .stat-label  { font-size: 11px; }

    .illustration-card  { padding: 20px; }
    .floating-badge     { padding: 6px 10px; }
}

@media (max-width: 640px) {
    .logo-container img {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 769px) {
    .main-container {
        max-height: calc(100vh - 70px - 60px);
        overflow: hidden;
    }
}