:root {
    --primary-color: #5B4FE3;
    --primary-dark: #4839C2;
    --primary-light: #7B6FF3;
    --accent-color: #3B82F6;
    --accent-dark:  #2563EB;
    --bg-color: #F8F9FA;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --success: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Landing Page */
.navbar-landing {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 79, 227, 0.3);
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-success:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 150px 0 100px 0;
    text-align: center;
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-section {
    padding: 80px 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Preview Soal */
.preview-paper {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    max-width: 21cm;
    margin: 0 auto;
}

.preview-kop {
    text-align: center;
    border-bottom: 3px solid var(--text-dark);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.preview-kop img {
    max-width: 80px;
    margin-bottom: 0.5rem;
}

.preview-kop h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.preview-kop p {
    margin: 0;
    font-size: 0.9rem;
}

.soal-item {
    margin-bottom: 1.5rem;
    page-break-inside: avoid;
}

.soal-item .soal-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.soal-item .soal-text {
    margin-bottom: 0.75rem;
}

.soal-item .soal-image {
    max-width: 100%;
    margin: 0.75rem 0;
    border-radius: 8px;
}

.soal-item .soal-options {
    margin-left: 1.5rem;
}

.soal-item .soal-options div {
    margin-bottom: 0.5rem;
}

/* CTA Section Spacing Fix */
.cta-section {
    margin-top: 80px;
    padding: 60px 0;
}

/* Footer Landing Page */
footer.landing-footer {
    background-color: #1F2937;
    color: #E5E7EB;
    padding: 60px 0 30px 0;
    margin-top: 0;
}

footer.landing-footer h5 {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer.landing-footer a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer.landing-footer a:hover {
    color: var(--primary-light);
}

footer.landing-footer .footer-description {
    color: #9CA3AF;
    line-height: 1.8;
}

footer.landing-footer .footer-links {
    list-style: none;
    padding: 0;
}

footer.landing-footer .footer-links li {
    margin-bottom: 0.75rem;
}

footer.landing-footer hr {
    border-color: #374151;
    margin: 2rem 0;
}

footer.landing-footer .copyright {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 120px;
    }
}
