* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --secondary: #764ba2;
    --text: #2d3748;
    --muted: #718096;
    --light: #f7fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --danger: #e53e3e;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    color: var(--text);
    min-height: 100vh;
}

/* =========================
   NAVIGATIE
   ========================= */

.navbar {
    width: 100%;
    min-height: 72px;
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 5%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.logo {
    color: var(--text);
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.main-menu a {
    color: #4a5568;
    text-decoration: none;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--primary);
    background: #edf2f7;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login {
    color: var(--primary);
    background: transparent;
}

.btn-login:hover {
    background: #edf2f7;
}

.btn-register {
    color: var(--white);
    background: var(--primary);
}

.btn-register:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* =========================
   HOME / HERO
   ========================= */

.hero {
    min-height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-content {
    max-width: 760px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    display: block;
}

.hero p {
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    color: var(--white);
    background: var(--primary);
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* =========================
   FEATURES
   ========================= */

.features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 20px 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-card h2 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

/* =========================
   FOOTER
   ========================= */

.footer {
    text-align: center;
    padding: 25px;
    color: var(--muted);
    font-size: 13px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

/* =========================
   LOGIN
   ========================= */

.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.simple-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 72px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.simple-header .logo {
    color: var(--white);
}

.back-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.back-link:hover {
    color: var(--white);
}

.auth-main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 40px;
}

.login-container {
    background: var(--white);
    padding: 38px 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.20);
    width: 100%;
    max-width: 400px;
}

.auth-icon {
    text-align: center;
    font-size: 42px;
    margin-bottom: 8px;
}

.login-container h1 {
    margin-bottom: 8px;
    color: #333;
    font-size: 28px;
    text-align: center;
}

.auth-subtitle {
    margin-bottom: 28px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.input-group {
    margin-bottom: 19px;
}

.input-group label {
    display: block;
    margin-bottom: 7px;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.auth-submit {
    width: 100%;
    padding: 13px;
    margin-top: 4px;
    font-size: 16px;
}

.auth-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.footer-text {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.footer-text a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE / MOBIEL
   ========================= */

@media (max-width: 850px) {
    .navbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 20px;
    }

    .main-menu {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .main-menu a {
        white-space: nowrap;
    }

    .auth-buttons {
        margin-left: auto;
    }

    .features {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 550px) {
    .navbar {
        min-height: auto;
    }

    .logo {
        font-size: 19px;
    }

    .auth-buttons {
        gap: 4px;
    }

    .auth-buttons .btn {
        padding: 9px 11px;
        font-size: 13px;
    }

    .main-menu {
        justify-content: flex-start;
    }

    .hero {
        min-height: 420px;
        padding: 55px 18px;
    }

    .hero p {
        font-size: 16px;
    }

    .login-container {
        padding: 30px 22px;
    }

    .simple-header {
        padding: 0 20px;
    }

    .back-link {
        font-size: 13px;
    }
}
