/* AI Readiness Assessment Styles */

/* Step Indicator Dots */
.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.step-dot.active {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    width: 16px;
    height: 16px;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.step-dot.completed {
    background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
    width: 12px;
    height: 12px;
}

.step-dot.completed::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 8px;
    font-weight: bold;
}

/* Assessment Steps */
.assessment-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.assessment-step.active {
    display: block;
}

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

/* Option Cards */
.option-card {
    cursor: pointer;
    display: block;
}

.option-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    transition: all 0.2s ease;
    text-align: center;
    min-height: 60px;
}

.option-card-content i {
    font-size: 1.25rem;
}

.option-card input:checked + .option-card-content {
    border-color: #a855f7;
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 100%);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
    transform: scale(1.02);
}

.option-card:hover .option-card-content {
    border-color: #c084fc;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.15);
}

.option-card-content span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.option-card input:checked + .option-card-content span {
    color: #7c3aed;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: white;
    color: #7c3aed;
    font-weight: 700;
    border-radius: 0.75rem;
    border: 2px solid #e9d5ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #faf5ff;
    border-color: #d8b4fe;
    transform: translateY(-1px);
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

/* Input Fields */
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* Checkbox */
input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #a855f7;
    border-color: #a855f7;
}

/* Results Section */
#assessment-results {
    animation: fadeIn 0.6s ease-in-out;
}

/* Score Animation */
#result-score {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: scoreCount 1.5s ease-out;
}

@keyframes scoreCount {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .option-card-content {
        padding: 0.75rem;
        min-height: 50px;
        font-size: 0.8125rem;
    }
    
    .option-card-content i {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    #result-score {
        font-size: 3.5rem;
    }
}

/* Loading State */
.btn-primary .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Progress Bar Animation */
#assessment-progress {
    transition: width 0.5s ease-out;
}
