/* EduVault Refined Style - Anti-Overflow & Mobile Ready */
* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden; /* NGUNCI BIAR GAK BISA DIGESER KANAN KIRI */
    background-color: #ffffff; 
    color: #1a1a1a; 
    line-height: 1.6;
    position: relative;
}

/* Background */
.stars-container { position: fixed; inset: 0; z-index: -1; background: #fff; }

/* Navbar */
.navbar {
    position: sticky; 
    top: 0; 
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.nav-wrap {
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 15px 25px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.logo { font-size: 24px; font-weight: 900; letter-spacing: -1.5px; }

.menu { list-style: none; display: flex; gap: 30px; }
.menu a { text-decoration: none; color: #555; font-size: 14px; font-weight: 600; transition: 0.3s; }
.menu a:hover { color: #000; }

/* Hero Section */
.hero { 
    text-align: center; 
    padding: 80px 25px 40px; 
    max-width: 900px; 
    margin: 0 auto; 
    width: 100%;
}
.hero h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(32px, 8vw, 64px); 
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 20px; 
}
.hero p { 
    color: #666; 
    font-size: 16px; 
    margin-bottom: 35px; 
    max-width: 600px; 
    margin-inline: auto; 
}

/* Main Content & Form */
.main { 
    width: 100%;
    max-width: 500px; 
    margin: 20px auto 60px; 
    padding: 0 20px; 
}
.calc-box { 
    background: #fff; 
    border: 1px solid #eee; 
    padding: 30px; 
    border-radius: 28px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.04); 
    width: 100%;
}

.input-group { margin-bottom: 20px; }
.input-group label { 
    display: block; 
    font-size: 11px; 
    font-weight: 800; 
    margin-bottom: 8px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #888;
}
.input-group input {
    width: 100%; 
    padding: 14px; 
    background: #f9f9f9; 
    border: 1px solid #eee;
    border-radius: 12px; 
    font-size: 16px; 
    transition: 0.3s;
}
.input-group input:focus { border-color: #000; outline: none; background: #fff; }

.focus { color: #007bff; font-weight: 800; }

.hidden-input { display: none; }
.secondary-btn {
    width: 100%; 
    padding: 14px; 
    border: 1px dashed #ccc; 
    border-radius: 12px;
    background: #fafafa; 
    color: #666; 
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.3s;
    font-size: 14px;
}
.secondary-btn:hover { border-color: #000; background: #fff; color: #000; }

.file-name-text { 
    font-size: 12px; 
    color: #007bff; 
    margin-top: 10px; 
    font-weight: 600; 
    text-align: center; 
    word-break: break-all;
}

.primary-btn { 
    width: 100%; 
    background: #000; 
    color: #fff; 
    border: none; 
    padding: 16px;
    font-size: 16px; 
    font-weight: 700; 
    border-radius: 50px;
    cursor: pointer; 
    transition: 0.4s;
    margin-top: 10px;
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.primary-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

/* Result Box */
.result-box { 
    margin-top: 20px; 
    padding: 15px; 
    background: #f0fdf4; 
    color: #166534; 
    border-radius: 12px; 
    text-align: center; 
    font-size: 14px; 
    font-weight: 600; 
}

/* Footer */
footer { 
    padding: 40px 20px; 
    text-align: center; 
    color: #999; 
    font-size: 12px; 
    border-top: 1px solid #f0f0f0; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-wrap { padding: 15px 20px; }
    .hero { padding: 60px 20px 30px; }
    .hero h1 { font-size: 36px; }
    .calc-box { padding: 25px 20px; }
    
    /* MUNCULIN DEVELOPER DI HP */
    .menu { gap: 15px; }
    .menu li:first-child { display: none; } /* Umpetin 'Beranda' biar lega */
    .menu a { font-size: 13px; }
}

.fade-in { animation: fadeIn 0.8s ease-out; }
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(15px); } 
    to { opacity: 1; transform: translateY(0); } 
}
