/* ============================================
   QUIZ HERO SECTION
   ============================================ */
.quiz-hero {
    background: linear-gradient(180deg, var(--blue-900) 0%, #0f2148 50%, #0d1a36 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.quiz-hero-badge {
    display: inline-block;
    background: rgba(0, 248, 167, 0.15);
    border: 1px solid rgba(0, 248, 167, 0.3);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.quiz-stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.quiz-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.quiz-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ============================================
   QUIZ CARD
   ============================================ */
.quiz-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.quiz-card-body {
    padding: 2.5rem;
}

.quiz-icon {
    font-size: 4rem;
    line-height: 1;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.quiz-progress-container {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quiz-progress-label {
    font-weight: 600;
    color: var(--blue-900);
    font-size: 0.9rem;
}

.quiz-progress-score {
    font-weight: 700;
    color: var(--blue-600);
    font-size: 0.9rem;
}

.quiz-progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-600), var(--accent));
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 248, 167, 0.5);
}

/* ============================================
   QUESTION CARD
   ============================================ */
.quiz-question-badge {
    display: inline-block;
    background: var(--blue-100);
    color: var(--blue-900);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-question-text {
    color: var(--blue-900);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
}


/* ============================================
   HINT (ACTUALIZADO - Abajo de las opciones)
   ============================================ */
.quiz-hint-toggle {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    color: #856404;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 1rem; /* Espacio arriba del botón */
}

.quiz-hint-toggle:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    transform: translateY(-2px);
}

.quiz-hint-box {
    background: linear-gradient(135deg, #fff3cd 0%, #fffaeb 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 1.25rem;
    animation: slideDown 0.3s ease;
    margin-top: 0.75rem;
}

.quiz-hint-box strong {
    color: #856404;
    font-size: 1rem;
}

.quiz-hint-box p {
    color: #664d03;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* ============================================
   OPTIONS (Sin cambios)
   ============================================ */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    color: var(--blue-900);
    font-size: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: transparent;
    transition: all 0.2s ease;
}

.quiz-option:hover:not(.disabled) {
    border-color: var(--blue-400);
    background: #f8faff;
    transform: translateX(4px);
}

.quiz-option:hover:not(.disabled)::before {
    background: var(--blue-400);
}

.quiz-option.selected {
    border-color: var(--blue-600);
    background: #eef2ff;
    font-weight: 700;
}

.quiz-option.selected::before {
    background: var(--blue-600);
}

.quiz-option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   NEXT BUTTON (NUEVO)
   ============================================ */
.quiz-next-btn {
    margin-top: 1.5rem;
    width: 100%;
}

/* ============================================
   LEAD FORM (NUEVO)
   ============================================ */
.quiz-lead-form {
    animation: fadeInUp 0.5s ease;
}

.quiz-lead-form .form-control,
.quiz-lead-form .form-select {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.quiz-lead-form .form-control:focus,
.quiz-lead-form .form-select:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.quiz-lead-form label {
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* ... resto del CSS sin cambios ... */
/* ============================================
   FEEDBACK
   ============================================ */
.quiz-feedback {
    animation: fadeInUp 0.4s ease;
}

.quiz-feedback-content {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
}

.quiz-feedback.correct .quiz-feedback-content {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.quiz-feedback.incorrect .quiz-feedback-content {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.quiz-feedback-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.quiz-feedback-title {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--blue-900);
}

.quiz-feedback-text {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

/* ============================================
   CARD ANIMATION (SWIPE)
   ============================================ */
.quiz-card-animated {
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.quiz-card.slide-out-left {
    animation: slideOutLeft 0.4s cubic-bezier(0.4, 0, 0.6, 1) forwards;
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

/* ============================================
   RESULTS SCREEN
   ============================================ */
.quiz-results-icon {
    font-size: 5rem;
    line-height: 1;
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.quiz-results-score {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 3px solid var(--blue-600);
    border-radius: 16px;
    padding: 2rem;
    display: inline-block;
    min-width: 200px;
}

.quiz-results-score-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--blue-600);
    line-height: 1;
}

.quiz-results-score-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-top: 0.5rem;
}

.quiz-results-breakdown {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.quiz-results-stat {
    text-align: center;
    padding: 1rem;
}

.quiz-results-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quiz-results-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1;
}

.quiz-results-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ============================================
   INFO SECTION
   ============================================ */
.quiz-info-icon {
    font-size: 2.5rem;
    line-height: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    .quiz-card-body {
        padding: 1.5rem;
    }
    
    .quiz-question-text {
        font-size: 1.15rem;
    }
    
    .quiz-option {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .quiz-stat-card {
        min-width: 100px;
        padding: 15px 20px;
    }
    
    .quiz-stat-number {
        font-size: 1.5rem;
    }
    
    .quiz-results-score-number {
        font-size: 3rem;
    }
    
    .quiz-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .quiz-hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .quiz-hero h1 {
        font-size: 1.75rem;
    }
    
    .quiz-stat-card {
        flex: 1;
        min-width: auto;
    }
    
    .btn-accent,
    .btn-primary {
        width: 100%;
    }
}

/* ============================================
   ALERT VARIANTS
   ============================================ */
.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #92400e;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
    color: #065f46;
}