:root {
    --primary-color: #0f172a;
    --accent-color: #f97316;
    --text-color: #334155;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-color); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; }

/* --- Header Styles --- */
header { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.5rem; color: var(--primary-color); }
.logo-img { height: 40px; width: auto; }

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- Button Styles --- */
.nav-btn {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-login {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-login:hover { background-color: var(--primary-color); color: var(--white); }

.btn-overview {
    background-color: var(--accent-color);
    color: white;
    display: none; /* Verborgen tot login */
}
.btn-overview:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

.btn-logout {
    background-color: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
    display: none; /* Verborgen tot login */
}
.btn-logout:hover { background-color: #ef4444; color: white; }

/* --- Hero Section --- */
.hero { padding: 4rem 0; text-align: center; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); color: var(--white); }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.25rem; color: #cbd5e1; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- Features Section --- */
.features { padding: 5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: 0 4px 6px rgba(0,0,0,0.05); text-align: center; }
.icon-circle { width: 60px; height: 60px; background-color: #e0f2fe; color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.5rem; font-weight: bold; }
.feature-card h3 { margin-bottom: 1rem; color: var(--primary-color); }

footer { background-color: var(--primary-color); color: #94a3b8; padding: 3rem 0; text-align: center; font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
}

/* --- Modal Styles --- */
.modal-overlay {
    display: none; /* Standaard verborgen */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.auth-container {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    width: 100%;
    max-width: 350px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    right: 15px; top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.auth-container h2 { margin-bottom: 20px; color: var(--primary-color); }
.auth-container input {
    width: 100%; margin-bottom: 15px; padding: 12px;
    border: 1px solid #cbd5e1; border-radius: var(--radius);
}

.auth-submit {
    width: 100%; padding: 12px;
    background-color: var(--primary-color);
    color: white; border: none; border-radius: var(--radius);
    font-weight: 600; cursor: pointer;
}
.auth-submit:hover { background-color: #1e293b; }

.auth-toggle { margin-top: 15px; font-size: 0.9rem; text-align: center; }
.auth-toggle a { color: var(--accent-color); font-weight: 600; cursor: pointer; }