:root {
    --primary-color: #0d47a1;
    /* Deep Blue */
    --secondary-color: #1976d2;
    /* Lighter Blue */
    --accent-color: #82b1ff;
    /* Accent Blue */
    --text-color: #2c3e50;
    --text-light: #546e7a;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-bg: #ffffff;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --font-family: 'Roboto', 'Helvetica Neue', sans-serif;
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 6rem 1rem 2rem 1rem;
    /* Top padding for fixed header */
    max-width: 1200px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

h1,
h2,
h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1.05rem;
}

/* Progress Bar - Sleek Top Line */
.progress-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-color);
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Options */
.options-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.option-card {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
    position: relative;
}

.option-card:hover {
    background: #e3f2fd;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.option-card.selected {
    background: #e3f2fd;
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Buttons */
.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
}

.btn {
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: white;
    color: var(--text-light);
    border: 2px solid #e0e0e0;
}

.btn-outline:hover {
    border-color: var(--text-light);
    color: var(--text-color);
}

/* Footer */
footer {
    width: 100%;
    background: white;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 0.85rem;
    color: #90a4ae;
}

/* Article Section */
.info-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.info-block h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        padding: 2rem 1.5rem;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .actions {
        flex-direction: column-reverse;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    main {
        padding-top: 5rem;
    }
}