:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --bg-color: #f0f4f8;
    --text-color: #2c3e50;
    --text-light: #546e7a;
    --white: #ffffff;
    --border-radius: 4px;
    /* Sharp corners */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Main Layout */
main {
    flex: 1;
    padding: 3rem 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-side {
    padding-right: 1rem;
}

.interaction-side {
    position: sticky;
    top: 100px;
}

/* Typography */
h1,
h2,
h3 {
    color: #1a252f;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Cards */
.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #e1e8ed;
}

/* Buttons */
.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: #cbd5e0;
    color: var(--text-light);
}

.btn-outline:hover {
    border-color: var(--text-color);
    color: var(--text-color);
    background-color: #fff;
}

/* Survey Options */
.survey-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border: 2px solid #e1e8ed;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.option-label:hover {
    border-color: var(--primary-color);
    background-color: #f8fbff;
}

.option-input {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* Progress Bar */
.progress-wrapper {
    margin-bottom: 2rem;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: #e1e8ed;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-text {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #1a252f;
    color: #ecf0f1;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .interaction-side {
        position: static;
        order: -1;
        /* Show question first on mobile */
    }

    .card {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Cookie Banner */
#cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    border-left: 5px solid var(--primary-color);
}

.cookie-actions {
    margin-top: 1rem;
    text-align: right;
}