/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0f172a;
    background: radial-gradient(circle, #1e293b 0%, #0f172a 100%);
    color: #f8fafc;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Sistem Halaman: Default Sembunyi */
.page {
    display: none;
}

/* Halaman yang aktif akan ditampilkan */
.page.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card Container */
.card-container {
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Pengaturan Foto Profil Bulat Sempurna & Tidak Gepeng */
.profile-img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 15px auto;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 10px;
}

.card-container h1 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.bio, .sub-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.3rem;
    color: #f1f5f9;
    margin-bottom: 5px;
}

/* Tombol Navigasi */
.nav-buttons-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Info Box Halaman Tentang & Kontak */
.info-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: left;
    margin-bottom: 15px;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

.link-text {
    color: #38bdf8;
    text-decoration: none;
}

.link-text:hover {
    text-decoration: underline;
}