/* Sembunyikan halaman di awal agar tidak kelihatan kedip saat proses cek login */
body { 
    opacity: 0; 
    transition: opacity 0.2s ease; 
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body {
    background-color: #050505;
    background-image: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.95)), url('../image/bg-landing.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    overflow: hidden;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.brand img { 
    width: 30px; 
    height: 30px; 
    object-fit: contain; 
    border-radius: 6px; 
}

.header-actions { 
    display: flex; 
    gap: 10px; 
}

button {
    cursor: pointer;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    transition: opacity 0.2s;
}

button:active { 
    opacity: 0.8; 
}

.btn-outline { 
    background: transparent; 
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.2); 
}

.btn-solid { 
    background: #1a1a1a; 
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.15); 
}

.landing-main {
    text-align: center;
    max-width: 600px;
    margin: auto;
    padding: 0 10px;
}

.landing-main h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
    white-space: nowrap;
}

.landing-main h1 span { 
    color: #ffffff; 
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2); 
}

.landing-main p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.main-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

@media(min-width: 480px) {
    .main-actions { 
        flex-direction: row; 
        justify-content: center; 
    }
}

.btn-primary-red {
    background: #1a1a1a; 
    color: #fff; 
    padding: 14px 24px; 
    font-size: 15px; 
    border-radius: 10px; 
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.btn-primary-white {
    background: #ffffff; 
    color: #000000; 
    padding: 14px 24px; 
    font-size: 15px; 
    border-radius: 10px; 
    font-weight: 700;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 450px;
    margin: 0 auto;
}

.ai-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: #cccccc;
}

.landing-footer { 
    text-align: center; 
    font-size: 11px; 
    color: #555; 
  }
