/* Reset dasar dan Pengaturan Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fdfdfd;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden; /* Mencegah scroll menyamping */
}

.landing-container {
    width: 100%;
    max-width: 1000px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* --- Header Styling --- */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.logo {
    width: 80px;
    height: auto;
}

.header-text {
    text-align: left;
}

.header-text h2 {
    font-size: 1.1rem;
    color: #1a4d2e;
    font-weight: 700;
}

.header-text h3 {
    font-size: 1rem;
    color: #386641;
    font-weight: 600;
}

/* --- Main Content Styling --- */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.titles {
    margin-bottom: 3rem;
}

.title-top {
    font-size: 2rem;
    color: #4a7c59;
    font-weight: 700;
    margin-bottom: 5px;
}

.title-mid {
    font-size: 2.2rem;
    color: #4a7c59;
    font-weight: 800;
    margin-bottom: 10px;
}

.title-bot {
    font-size: 1.3rem;
    color: #5c9e74;
    font-weight: 600;
}

.login-prompt {
    font-size: 1.2rem;
    color: #5c9e74;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* --- Button Styling --- */
.button-group {
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.btn-role {
    background-color: #6ba87a;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 0;
    width: 220px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 6px 0 #4a805c;
    transition: transform 0.1s, box-shadow 0.1s;
    text-align: center;
}

.btn-role:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #4a805c;
}

/* --- Decorative images styling --- */
.bg-illustrations {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-illustration {
    position: absolute;
    opacity: 0.98;
    will-change: transform;
}

.bg-left {
    left: 0;
    top: 0;
    height: 86vh;
    max-width: none;
}

.bg-right {
    right: 0;
    top: 24px;
    height: 86vh;
    max-width: none;
}


/* =========================================
   RESPONSIVITAS (MEDIA QUERIES)
   ========================================= */

/* --- Layar Laptop Kecil & Tablet (max-width: 1100px) --- */
@media (max-width: 1100px) {
    /* Sembunyikan ilustrasi background agar teks tetap terbaca jelas */
    .bg-left, .bg-right {
        display: none;
    }
    
    .title-top { font-size: 1.8rem; }
    .title-mid { font-size: 2rem; }
    .title-bot { font-size: 1.2rem; }
}

/* --- Layar Tablet Portrait & HP Besar (max-width: 768px) --- */
@media (max-width: 768px) {
    .landing-container {
        padding: 1.5rem;
    }

    .header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
        gap: 10px;
    }
    
    .header-text {
        text-align: center;
    }

    .header-text h2 { font-size: 1rem; }
    .header-text h3 { font-size: 0.9rem; }

    .titles {
        margin-bottom: 2rem;
    }

    .title-top { font-size: 1.5rem; }
    .title-mid { font-size: 1.6rem; }
    .title-bot { font-size: 1rem; }

    .login-prompt { font-size: 1.1rem; }

    /* Tombol ditumpuk atas-bawah */
    .button-group {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .btn-role {
        width: 100%;
        max-width: 280px; /* Batasi lebar maksimal tombol di HP */
        font-size: 1.5rem;
        padding: 12px 0;
    }
}

/* --- Layar HP Kecil (max-width: 480px) --- */
@media (max-width: 480px) {
    .logo {
        width: 65px;
    }

    .header-text h2 { font-size: 0.9rem; }
    .header-text h3 { font-size: 0.8rem; }

    .title-top { font-size: 1.3rem; }
    .title-mid { font-size: 1.4rem; }
    .title-bot { font-size: 0.9rem; }

    .login-prompt { 
        font-size: 1rem; 
        margin-bottom: 1rem;
    }

    .btn-role {
        font-size: 1.3rem;
        max-width: 240px;
    }
}