:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #F52B27; /* Red from newwhitehub */
    --secondary-text: #666666;
    --border-color: #eeeeee;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.5;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.sub-title {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 400;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, #fafafa 0%, #ffffff 100%);
}

.logo-area {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.test-info {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.separator {
    opacity: 0.3;
}

/* Buttons */
.btn-start, .btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--text-color);
    color: #fff;
    text-decoration: none;
    border-radius: 9999px; /* Pill shape */
    font-weight: 500;
    border: 1px solid var(--text-color);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-start:hover, .btn-nav:not(:disabled):hover {
    background-color: transparent;
    color: var(--text-color);
}

.btn-nav:disabled {
    background-color: #f5f5f5;
    color: #ccc;
    border-color: #f5f5f5;
    cursor: not-allowed;
}

/* Test Interface */
.test-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.test-header {
    margin-bottom: 4rem;
    padding-top: 1rem;
}

.step-indicator-top {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    text-align: center;
    font-feature-settings: "tnum";
}

.progress-container {
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* Question Card */
.question-block {
    display: none;
    animation: fadeIn 0.4s ease;
}

.question-block.active {
    display: block;
}

.question-title {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.4;
}

/* Likert Options */
.likert-scale {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.likert-option {
    position: relative;
    cursor: pointer;
}

.likert-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.likert-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--secondary-text);
    transition: all 0.2s ease;
    font-weight: 500;
}

.likert-option input:checked + label {
    border-color: var(--text-color);
    color: var(--text-color);
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.likert-option:hover label {
    border-color: #ddd;
}

/* Navigation */
.nav-buttons {
    margin-top: auto;
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn-nav {
    flex: 1;
}

.validation-msg {
    text-align: center;
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-top: 1rem;
    min-height: 1.5em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Optimizations */
@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }
    
    .question-title {
        font-size: 1.25rem;
    }
    
    .likert-option label {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
}
