/* ============================================================================
   STL AI Assessment - Custom Styles
   Extends styles.css with assessment-specific components
   ============================================================================ */

/* ============================================================================
   LAYOUT
   ============================================================================ */

.assessment-container {
    min-height: calc(100vh - 80px);
    padding: 120px 0 80px;
}

.navbar-simple {
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(10px);
}

.navbar-simple .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================================================
   PROGRESS BAR
   ============================================================================ */

.progress-section {
    max-width: 800px;
    margin: 0 auto 48px;
}

.progress-bar {
    height: 8px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 8px;
    transition: width 0.4s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.progress-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ============================================================================
   QUESTION CARD
   ============================================================================ */

.question-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.question {
    animation: fadeIn 0.3s ease;
}

.question.hidden {
    display: none;
}

.question-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.question-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================================================
   OPTION BUTTONS - GRID LAYOUT (Q1)
   ============================================================================ */

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(148, 163, 184, 0.05);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.option-btn:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.option-btn.selected {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.option-icon {
    font-size: 32px;
    line-height: 1;
}

.option-text {
    flex: 1;
}

.option-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.option-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================================================
   OPTION BUTTONS - LIST LAYOUT (Q2, Q4, Q5, Q6, Q7)
   ============================================================================ */

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(148, 163, 184, 0.05);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.option-btn-list:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(4px);
}

.option-btn-list.selected {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.option-btn-list .option-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.option-btn-list .option-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.option-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
}

/* ============================================================================
   OPTION BUTTONS - MULTI-SELECT (Q3)
   ============================================================================ */

.option-btn-multi {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(148, 163, 184, 0.05);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.option-btn-multi:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.option-btn-multi.selected {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.option-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.25s ease;
    position: relative;
}

.option-btn-multi.selected .option-checkbox {
    background: #3b82f6;
    border-color: #3b82f6;
}

.option-btn-multi.selected .option-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.btn-continue {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================================
   RESULTS CONTAINER
   ============================================================================ */

.results-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.4s ease;
}

.results-container.hidden {
    display: none;
}

.results-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.results-header {
    text-align: center;
    margin-bottom: 32px;
}

.results-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.results-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================================================
   RESULTS SUMMARY
   ============================================================================ */

.results-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.stat-large {
    text-align: center;
}

.stat-large .stat-value {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

.stat-large .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.results-intro {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

/* ============================================================================
   SOLUTIONS LIST
   ============================================================================ */

.solutions-heading {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(148, 163, 184, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    animation: slideInUp 0.4s ease;
    animation-fill-mode: both;
}

.solution-item:nth-child(1) { animation-delay: 0.1s; }
.solution-item:nth-child(2) { animation-delay: 0.2s; }
.solution-item:nth-child(3) { animation-delay: 0.3s; }

.solution-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-icon {
    font-size: 32px;
    line-height: 1;
}

.solution-content {
    flex: 1;
}

.solution-title {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.solution-benefit {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.solution-hours {
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
}

.recommended-tier {
    padding: 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    color: var(--text-primary);
}

.tier-note {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ============================================================================
   EMAIL CAPTURE
   ============================================================================ */

.email-capture {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.email-capture-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.email-capture-header p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.email-capture-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.email-capture-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.email-capture-benefits svg {
    color: #10b981;
    flex-shrink: 0;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.email-form input[type="email"],
.email-form input[type="text"] {
    padding: 16px 20px;
    background: rgba(148, 163, 184, 0.05);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.email-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.privacy-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.privacy-consent label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
}

.privacy-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ============================================================================
   SUCCESS MESSAGE
   ============================================================================ */

.success-message {
    text-align: center;
    padding: 48px 0;
    animation: fadeIn 0.4s ease;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.success-message h3 {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.success-message p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.success-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ============================================================================
   RESPONSIVE - TABLET
   ============================================================================ */

@media (max-width: 1024px) {
    .question-card,
    .results-card {
        padding: 32px;
    }

    .question-title {
        font-size: 24px;
    }

    .results-header h2 {
        font-size: 28px;
    }

    .stat-large .stat-value {
        font-size: 32px;
    }
}

/* ============================================================================
   RESPONSIVE - MOBILE
   ============================================================================ */

@media (max-width: 768px) {
    .assessment-container {
        padding: 100px 0 60px;
    }

    .progress-section {
        margin-bottom: 32px;
    }

    .question-card,
    .results-card {
        padding: 24px;
        border-radius: 12px;
    }

    .question-title {
        font-size: 22px;
    }

    .question-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    /* Single column grid for Q1 on mobile */
    .options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .option-btn {
        padding: 16px;
    }

    .option-icon {
        font-size: 28px;
    }

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

    .option-desc {
        font-size: 12px;
    }

    /* List options on mobile */
    .option-btn-list {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .option-badge {
        align-self: flex-start;
    }

    /* Multi-select on mobile */
    .option-btn-multi {
        padding: 16px;
    }

    /* Results on mobile */
    .results-header {
        margin-bottom: 24px;
    }

    .results-icon {
        font-size: 48px;
    }

    .results-header h2 {
        font-size: 24px;
    }

    .results-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .stat-large .stat-value {
        font-size: 28px;
    }

    .solutions-heading {
        font-size: 20px;
    }

    .solution-item {
        padding: 16px;
        gap: 12px;
    }

    .solution-number {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .solution-icon {
        font-size: 28px;
    }

    .solution-title {
        font-size: 18px;
    }

    .solution-benefit {
        font-size: 14px;
    }

    /* Email form on mobile */
    .email-capture {
        margin-top: 32px;
        padding-top: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .email-capture-header h3 {
        font-size: 20px;
    }

    /* Success message on mobile */
    .success-message h3 {
        font-size: 24px;
    }

    .success-icon {
        font-size: 48px;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}
