/* Scorecard-specific styles */

.scorecard-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.scorecard-hero {
    padding: 60px 0 40px;
    background: linear-gradient(
        135deg,
        rgba(16, 21, 45, 0.02),
        rgba(173, 2, 62, 0.02)
    );
    border-bottom: 1px solid var(--line);
}

.hero-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-intro h1 {
    margin: 0 0 16px;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
}

.hero-intro .lead {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--text);
}

.hero-intro .subtext {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.scorecard-section {
    flex: 1;
    padding: 60px 0;
}

.scorecard-container {
    max-width: 650px;
}

.scorecard-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 32px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-navy), var(--brand-magenta));
    width: 10%;
    transition: width 0.3s ease;
}

/* Question Cards */
.question-card {
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    box-shadow: var(--shadow);
    animation: slideIn 0.3s ease;
}

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

.question-header {
    margin-bottom: 28px;
}

.question-header h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--brand-navy);
}

.question-num {
    display: inline-block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-radio {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-radio:hover {
    border-color: var(--brand-navy);
    background: rgba(16, 21, 45, 0.02);
}

.option-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--muted);
    border-radius: 50%;
    margin-right: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.option-radio input[type="radio"]:hover {
    border-color: var(--brand-navy);
}

.option-radio input[type="radio"]:checked {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-2));
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 4px rgba(16, 21, 45, 0.1);
}

.option-label {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

/* Gate Card */
.gate-card {
    border: 2px solid rgba(173, 2, 62, 0.22);
}

.gate-intro {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.gate-form {
    margin-top: 24px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--brand-magenta);
    box-shadow: 0 0 0 3px rgba(173, 2, 62, 0.14);
}

/* Form Navigation */
.form-nav {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    justify-content: space-between;
}

.form-nav .btn {
    flex: 1;
}

.form-nav .btn--ghost {
    flex: 0 1 auto;
    min-width: 140px;
}

/* Button states */
.btn {
    transition: all 0.2s ease;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .scorecard-hero {
        padding: 40px 0 30px;
    }

    .hero-intro h1 {
        font-size: 32px;
    }

    .hero-intro .lead {
        font-size: 16px;
    }

    .question-card {
        padding: 24px;
    }

    .question-header h2 {
        font-size: 20px;
    }

    .form-nav {
        flex-direction: column-reverse;
    }

    .form-nav .btn--ghost {
        flex: 1;
        min-width: auto;
    }
}

@media (max-width: 560px) {
    .scorecard-section {
        padding: 40px 0;
    }

    .question-card {
        padding: 20px;
    }

    .option-radio {
        padding: 12px 14px;
    }

    .option-label {
        font-size: 14px;
    }

    .question-header h2 {
        font-size: 18px;
    }
}
