:root {
    --primary-color: #007bff; /* Trustworthy Blue */
    --secondary-color: #0056b3;
    --accent-color: #e0f2f1; /* Light Teal background */
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --border-color: #ddd;
    --success-color: #28a745;
    --font-main: 'Inter', sans-serif;
    --max-width: 800px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: #f4f7f6;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Survey Elements */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar-bg {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    background-color: var(--primary-color);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

.question-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.options-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    transition: all 0.2s;
    width: 100%;
}

.option-btn:hover {
    border-color: var(--primary-color);
    background-color: var(--accent-color);
}

.option-btn.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: #6c757d;
    color: var(--white);
}

.btn:hover {
    opacity: 0.9;
}

.btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Article Content */
.article-content {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.article-content h2 {
    font-size: 1.3rem;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 20px;
    display: none; /* JS will show it */
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .nav-buttons {
        flex-direction: column-reverse;
        gap: 15px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}
