* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #141419;
    color: #fafafa;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-out;
}

.header.hidden {
    display: none;
}

.header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
    background-color: #4b0082; /* púrpura oscuro */
    padding: 0.3em 0.6em;
    border-radius: 0.5em;
    display: inline-block;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    text-shadow: none;
}

.header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #a1a1aa;
}

/* Ocultar la imagen de cabecera */
.module-image {
    display: none !important;
}

/* Quiz Module */
.quiz-module {
    max-width: 64rem;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

.module-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.module-image img {
    width: 100%;
    height: auto;
    min-height: 16rem;
    max-height: 24rem;
    object-fit: cover;
    display: block;
}

.quiz-card {
    background-color: #1f1f23;
    border: 2px solid #3f3f46;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.quiz-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fafafa;
}

.quiz-question {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: rgba(250, 250, 250, 0.9);
    line-height: 1.6;
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #3f3f46;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
}

.option:hover {
    background-color: rgba(63, 63, 70, 0.5);
}

.option input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: #a855f7;
}

.option label {
    flex: 1;
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    cursor: pointer;
    color: #fafafa;
}

/* Button */
.submit-button {
    background: linear-gradient(135deg, #a855f7, #b455f7);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    width: 100%;
}

.submit-button:hover:not(:disabled) {
    opacity: 0.9;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Completion */
.completion {
    text-align: center;
    animation: scaleIn 0.5s ease-out;
    display: none;
}

.completion.show {
    display: block;
}

.completion h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #a855f7, #b455f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.completion .subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #fafafa;
    margin-bottom: 1.5rem;
}

.completion .description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #a1a1aa;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.prospect-badge {
    display: inline-block;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #a855f7, #b455f7);
    color: white;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.webinar-button {
    background: linear-gradient(135deg, #a855f7, #b455f7);
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 2rem 3rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.4);
    display: inline-block;
    text-decoration: none;
}

.webinar-button:hover {
    opacity: 0.9;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (min-width: 768px) {
    body {
        padding: 3rem 2rem;
    }

    .quiz-card {
        padding: 2.5rem;
    }

    .submit-button {
        width: auto;
        min-width: 250px;
    }
}