* {
    box-sizing: border-box;
}

:root {
    --blue: #2f83dd;
    --blue-dark: #12345b;
    --blue-soft: #eaf4ff;

    --orange: #f4a62a;
    --orange-soft: #fff4df;

    --text: #162433;
    --muted: #6f8294;

    --background: #f5f8fb;
    --white: #ffffff;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at top right,
            rgba(47,131,221,0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(244,166,42,0.08),
            transparent 28%
        ),
        var(--background);

    color: var(--text);

    min-height: 100vh;
}

.topbar {
    background:
        rgba(255,255,255,0.94);

    border-bottom:
        1px solid rgba(18,52,91,0.08);

    padding:
        16px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;

    z-index: 10;

    backdrop-filter: blur(12px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
    color: var(--text);
}

.logo-symbol {
    width: 44px;
    height: 44px;

    border:
        2px solid var(--blue);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    color: var(--blue-dark);

    font-weight: bold;

    position: relative;

    box-shadow:
        0 5px 18px
        rgba(47,131,221,0.12);
}

.logo-symbol::after {
    content: "";

    position: absolute;

    width: 6px;
    height: 6px;

    right: 2px;
    top: 2px;

    border-radius: 50%;

    background: var(--orange);

    box-shadow:
        0 0 8px
        rgba(244,166,42,0.45);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;

    letter-spacing: 1px;

    color: var(--blue-dark);
}

.logo-text span {
    color: var(--orange);
}

nav {
    display: flex;
    align-items: center;

    gap: 8px;
}

nav a {
    text-decoration: none;

    color: #526679;

    font-size: 14px;
    font-weight: 600;

    padding: 10px 13px;

    border-radius: 9px;

    transition: 0.2s ease;
}

nav a:hover {
    color: var(--blue-dark);

    background:
        rgba(47,131,221,0.07);
}

nav .login-button {
    color: white;

    background: var(--blue);

    padding:
        10px 16px;
}

nav .login-button:hover {
    background: var(--orange);

    color: var(--blue-dark);
}

.hero {
    width:
        min(1100px, 92%);

    margin:
        0 auto;

    min-height:
        calc(100vh - 77px);

    display: flex;
    align-items: center;

    padding:
        60px 0;

    position: relative;
}

.hero-content {
    max-width: 720px;

    position: relative;

    z-index: 2;
}

.eyebrow {
    color: var(--orange);

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 3px;

    margin-bottom: 14px;
}

h1 {
    margin:
        0 0 20px 0;

    font-size:
        clamp(44px, 8vw, 82px);

    line-height: 0.98;

    letter-spacing: -3px;

    color: var(--blue-dark);
}

h1 span {
    color: var(--blue);
}

.intro {
    max-width: 600px;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.button {
    display: inline-block;

    text-decoration: none;

    padding:
        14px 20px;

    border-radius: 10px;

    font-weight: bold;

    transition: 0.2s ease;
}

.button-primary {
    background: var(--blue);

    color: white;

    box-shadow:
        0 10px 25px
        rgba(47,131,221,0.18);
}

.button-primary:hover {
    background: var(--orange);

    color: var(--blue-dark);

    transform:
        translateY(-2px);
}

.button-secondary {
    background: var(--white);

    color: var(--blue-dark);

    border:
        1px solid
        rgba(18,52,91,0.12);

    box-shadow:
        0 8px 20px
        rgba(18,52,91,0.05);
}

.button-secondary:hover {
    border-color:
        rgba(244,166,42,0.40);

    transform:
        translateY(-2px);
}

.decor {
    position: absolute;

    right: 2%;
    bottom: 3%;

    font-size:
        clamp(140px, 22vw, 300px);

    font-weight: 900;

    color:
        rgba(47,131,221,0.035);

    pointer-events: none;

    user-select: none;
}

footer {
    text-align: center;

    padding:
        22px;

    color: #8293a3;

    font-size: 12px;

    letter-spacing: 1px;
}

footer span {
    color: var(--orange);
}

@media (max-width: 700px) {

    .topbar {
        padding:
            14px 16px;
    }

    .logo-text {
        font-size: 19px;
    }

    nav a:not(.login-button) {
        display: none;
    }

    .hero {
        padding:
            45px 0;
    }

    h1 {
        letter-spacing: -2px;
    }

    .intro {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;

        text-align: center;
    }

}


/* Inloggen */
.auth-page {
    width: min(1100px, 92%);
    margin: 0 auto;
    min-height: calc(100vh - 145px);
    display: flex;
    align-items: center;
    padding: 56px 0;
    position: relative;
}

.auth-shell {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 450px);
    gap: 70px;
    align-items: center;
}

.auth-info {
    max-width: 560px;
}

.auth-info h1 {
    margin: 0 0 20px;
    font-size: clamp(46px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.auth-info p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.auth-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: #526679;
    font-size: 14px;
}

.auth-note-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(244,166,42,0.12);
}

.auth-card {
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(18,52,91,0.10);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 24px 60px rgba(18,52,91,0.12);
    position: relative;
    overflow: hidden;
}

.auth-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
}

.auth-card h2 {
    margin: 2px 0 8px;
    color: var(--blue-dark);
    font-size: 30px;
    letter-spacing: -1px;
}

.auth-card-intro {
    margin: 0 0 25px;
    color: var(--muted);
    line-height: 1.6;
}

.site-form-group {
    margin-bottom: 18px;
}

.site-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 700;
}

.site-form-group input {
    width: 100%;
    padding: 14px 15px;
    border-radius: 11px;
    border: 1px solid rgba(18,52,91,0.14);
    background: #f8fbfe;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: 0.2s ease;
}

.site-form-group input:focus {
    border-color: rgba(47,131,221,0.60);
    box-shadow: 0 0 0 4px rgba(47,131,221,0.09);
    background: #fff;
}

.site-submit {
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 14px 18px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(47,131,221,0.18);
    transition: 0.2s ease;
}

.site-submit:hover {
    transform: translateY(-2px);
    background: var(--orange);
    color: var(--blue-dark);
}

.site-message {
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 14px;
}

.site-message-error {
    color: #a9323f;
    background: #fff0f2;
    border: 1px solid rgba(200,59,75,0.16);
}

.site-login-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(18,52,91,0.08);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

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

.site-login-footer a:hover {
    color: var(--orange);
}

@media (max-width: 820px) {
    .auth-page {
        padding: 38px 0;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .auth-info {
        text-align: center;
        margin: 0 auto;
    }

    .auth-info h1 {
        font-size: clamp(42px, 12vw, 62px);
    }

    .auth-note {
        justify-content: center;
    }

    .auth-card {
        width: min(470px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .auth-page {
        width: min(100% - 28px, 1100px);
    }

    .auth-info p {
        font-size: 16px;
    }

    .auth-card {
        padding: 27px 21px;
        border-radius: 18px;
    }
}

/* Accountmenu op de hoofdsite */
.site-account {
    position: relative;
}

.site-account-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border: 1px solid rgba(18,52,91,0.10);
    border-radius: 10px;
    background: #fff;
    color: var(--blue-dark);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(18,52,91,0.06);
}

.site-account-button:hover {
    background: var(--blue-soft);
}

.site-account-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(47,131,221,0.10);
    border: 1px solid rgba(47,131,221,0.20);
    color: var(--blue-dark);
    font-weight: 800;
}

.site-account-arrow {
    color: var(--orange);
    font-size: 10px;
}

.site-account-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    padding: 7px;
    background: #fff;
    border: 1px solid rgba(18,52,91,0.10);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(18,52,91,0.16);
    z-index: 100;
}

.site-account-menu.open {
    display: block;
}

.site-account-name {
    padding: 10px 11px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(18,52,91,0.08);
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-account-name strong {
    color: var(--blue-dark);
}

.site-account-menu a {
    display: block;
    padding: 10px 11px;
    border-radius: 8px;
    color: #526679;
    text-decoration: none;
    font-size: 13px;
}

.site-account-menu a:hover {
    background: var(--blue-soft);
    color: var(--blue-dark);
}

.site-account-menu .site-logout-link {
    color: #b33b47;
}

.site-account-menu .site-logout-link:hover {
    background: #fff0f2;
    color: #a9323f;
}

@media (max-width: 700px) {
    .site-account-label {
        display: none;
    }

    .site-account-menu {
        width: 200px;
    }
}
