*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    margin: 0;
    color: #1b1b1f;
    background: #f5f7fb;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #e1e6ef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: #0d213f;
}

.logo img {
    width: 42px;
    height: 42px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

nav a {
    font-weight: 600;
    color: #0d213f;
}

main {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 37, 70, 0.07);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #0a1b33;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #ff6a3d, #ffaf3d);
    color: #fff;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 122, 61, 0.4);
}

.progress-wrapper {
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 10px;
    width: 100%;
    background: #e4e9f2;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #14c0c9, #0575e6);
    transition: width 0.4s ease;
}

.progress-label {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #0f274d;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.question-title {
    font-size: 1.85rem;
    margin: 0 0 0.75rem 0;
}

.options {
    display: grid;
    gap: 0.75rem;
}

.option {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e1e8f5;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.option input {
    transform: scale(1.2);
}

textarea,
input[type="text"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #d7deeb;
    font-size: 1rem;
    resize: vertical;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-buttons button,
.nav-buttons a {
    flex: 1 1 30%;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-secondary {
    background: #e3e9f5;
    color: #0f274d;
}

.btn-outline {
    border: 2px solid #0f9b8e;
    color: #0f9b8e;
    background: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #0f9b8e, #16d7b7);
    color: #ffffff;
}

footer {
    background: #0f1c2d;
    color: #cfd8ec;
    margin-top: 3rem;
    padding: 2rem 1.25rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid a {
    color: #8fd0ff;
}

.consent-banner {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 520px);
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(11, 25, 64, 0.25);
    z-index: 2000;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.consent-banner button {
    align-self: flex-start;
    padding: 0.7rem 1.35rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.75rem;
    border: 1px solid #e1e6ef;
    text-align: left;
}

@media (max-width: 640px) {
    .top-bar {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        padding: 1.5rem;
    }

    .nav-buttons {
        flex-direction: column;
    }

    .nav-buttons button,
    .nav-buttons a {
        flex: 1 1 auto;
    }
}

