/* --- VARIABLE & RESET (Sama dengan Landing Page) --- */
:root {
    --primary-blue: #1A237E; /* Royal Blue */
    --secondary-gold: #D4AF37; /* Gold */
    --accent-gold-light: #F4E5B2;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #1A1A1A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- HEADER (Copy dari Landing Page) --- */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 20px 8%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 8%;
    box-shadow: var(--shadow-sm);
}
.logo { display: flex; align-items: center; gap: 12px; }
.LogoLomba {
    background: var(--primary-blue); color: var(--secondary-gold);
    font-weight: 800; padding: 8px 12px; border-radius: 10px; font-size: 1.1rem;
}
.Judul { font-weight: 800; color: var(--primary-blue); font-size: 1.1rem; }
.Subjudul { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

/* Navigasi */
nav { display: flex; align-items: center; }
nav a {
    margin-left: 30px; text-decoration: none; color: var(--text-dark);
    font-weight: 600; font-size: 0.95rem; transition: var(--transition);
}
nav a:hover, nav a.active { color: var(--primary-blue); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: var(--primary-blue); border-radius: 5px; }

/* --- MAIN CONTAINER --- */
.main-container {
    max-width: 900px;
    margin: 120px auto 60px auto; /* Margin top untuk kompensasi fixed header */
    padding: 0 20px;
}

.page-header { text-align: center; margin-bottom: 40px; }
.page-header h1 { color: var(--primary-blue); font-size: 2.2rem; margin-bottom: 10px; }
.page-header p { color: var(--text-muted); }

/* --- STEPPER (Indikator Langkah) --- */
.steps-container {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 40px;
}
.step {
    display: flex; flex-direction: column; align-items: center;
    position: relative; z-index: 2;
    opacity: 0.6; transition: var(--transition);
}
.step.active, .step.completed { opacity: 1; }
.step-number {
    width: 40px; height: 40px;
    background: white; border: 2px solid var(--text-muted);
    color: var(--text-muted);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; margin-bottom: 8px;
    transition: var(--transition);
}
.step-label { font-size: 0.85rem; font-weight: 600; }

/* Active State */
.step.active .step-number {
    border-color: var(--primary-blue); background: var(--primary-blue); color: white;
    box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
}
.step.active .step-label { color: var(--primary-blue); }

/* Completed State */
.step.completed .step-number {
    background: var(--secondary-gold); border-color: var(--secondary-gold); color: white;
}

.line {
    flex: 1; height: 2px; background: var(--border-color); margin: 0 10px 25px 10px;
}

/* --- CARD UI --- */
.step-content { display: none; animation: fadeIn 0.5s ease; }
.step-content.active { display: block; }

.card-ui {
    background: var(--bg-white);
    padding: 40px; border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.03);
}

.card-header { margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.card-header h2 { font-size: 1.5rem; color: var(--text-dark); margin-bottom: 5px; }
.card-header p { color: var(--text-muted); font-size: 0.95rem; }

/* --- ALERT & INFO BOX --- */
.alert-box {
    background: #FFF9E6; border-left: 4px solid var(--secondary-gold);
    padding: 15px; border-radius: 8px; margin-bottom: 25px; font-size: 0.95rem;
}
.info-box {
    background: #EEF2FF; border-radius: 12px; padding: 20px; margin: 20px 0;
}
.info-box ul { padding-left: 20px; margin-top: 10px; color: var(--text-muted); }
.requirements-list { padding-left: 20px; line-height: 1.8; color: var(--text-dark); }
.requirements-list li { margin-bottom: 8px; }

/* --- FORM STYLES --- */
.form-section-title {
    color: var(--primary-blue); font-size: 1.1rem;
    margin: 30px 0 15px 0; border-bottom: 2px solid #F1F5F9;
    padding-bottom: 8px; display: inline-block;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }

label {
    display: block; font-weight: 600; font-size: 0.9rem;
    margin-bottom: 8px; color: var(--text-dark);
}

input[type="text"], input[type="number"], select {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem; font-family: inherit;
    transition: var(--transition); background: #FCFCFD;
    text-transform: uppercase;
}
input:focus, select:focus {
    outline: none; border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1); background: white;
}

/* Custom File Upload */
.file-upload-group {
    background: var(--bg-light); padding: 15px;
    border-radius: 12px; border: 1px dashed #CBD5E1;
    margin-bottom: 15px;
}
input[type="file"] { width: 100%; font-size: 0.9rem; }

/* --- BUTTONS --- */
.form-actions { margin-top: 30px; display: flex; gap: 15px; }
.form-actions.right { justify-content: flex-end; }
.form-actions.space-between { justify-content: space-between; }

.btn {
    padding: 12px 30px; border-radius: 50px; font-weight: 700; cursor: pointer;
    border: none; font-size: 1rem; transition: var(--transition);
    text-decoration: none; display: inline-block;
}
.btn.primary { background: var(--primary-blue); color: white; box-shadow: 0 5px 15px rgba(26, 35, 126, 0.2); }
.btn.secondary { background: white; border: 2px solid var(--border-color); color: var(--text-muted); }
.btn-outline {
    display: inline-block; padding: 10px 20px; border: 1px solid var(--primary-blue);
    color: var(--primary-blue); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
    text-align: center;
}
.btn:hover, .btn-outline:hover { transform: translateY(-2px); }
.btn.primary:hover { box-shadow: 0 8px 20px rgba(26, 35, 126, 0.3); }

.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 15px; }

/* --- SUCCESS STATE --- */
.center-content { text-align: center; }
.success-icon { font-size: 4rem; margin-bottom: 20px; }
.loading-bar {
    width: 100%; height: 6px; background: #eee; border-radius: 10px; margin-top: 20px; overflow: hidden;
}
.loading-bar::after {
    content: ''; display: block; width: 40%; height: 100%; background: var(--primary-blue);
    animation: loading 1.5s infinite ease-in-out; border-radius: 10px;
}

/* --- FOOTER --- */
.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; margin-top: 60px; }

/* --- ANIMATION --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    /* Mobile Menu */
    .menu-toggle { display: flex; }
    nav {
        position: absolute; top: 100%; left: 0; width: 100%; background: white;
        flex-direction: column; align-items: flex-start; padding: 20px;
        box-shadow: var(--shadow-md); display: none;
    }
    nav.active { display: flex; }
    nav a { margin: 10px 0; width: 100%; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }

    /* Layout */
    .main-container { margin-top: 100px; }
    .steps-container { padding: 0 10px; }
    .step-label { display: none; } /* Sembunyikan label step di HP biar rapi */
    .form-grid, .download-grid { grid-template-columns: 1fr; }
    
    .card-ui { padding: 25px; }
    .btn { width: 100%; margin-bottom: 10px; }
    .form-actions { flex-direction: column-reverse; }
}