/* ===== VA QUIZ - MAIN STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #fce7f3 0%, #dbeafe 50%, #f3e8ff 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
}

.container {
    max-width: 650px !important;
    margin: 0 auto;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CARD LAYOUTS ===== */
.quiz-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.results-header {
    background: white;
    border-radius: 1rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ===== DECORATIVE BACKGROUNDS ===== */
.decorative-bg-1 {
    position: absolute;
    top: -8rem;
    right: -8rem;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(251, 207, 232, 0.3) 0%, rgba(219, 234, 254, 0.3) 100%);
    border-radius: 50%;
    filter: blur(60px);
}

.decorative-bg-2 {
    position: absolute;
    bottom: -8rem;
    left: -8rem;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(219, 234, 254, 0.3) 0%, rgba(243, 232, 255, 0.3) 100%);
    border-radius: 50%;
    filter: blur(60px);
}

.content {
    position: relative;
    z-index: 10;
}

/* ===== GRADIENT TEXT EFFECTS ===== */
.gradient-text {
    background: linear-gradient(90deg, #db2777 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.gradient-button {
    background: linear-gradient(90deg, #ec4899 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    font-size: 1.125rem;
}

.gradient-button:hover {
    background: linear-gradient(90deg, #db2777 0%, #2563eb 100%);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.next-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #ec4899 0%, #3b82f6 100%);
    color: white;
}

.next-btn:hover {
    background: linear-gradient(90deg, #db2777 0%, #2563eb 100%);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.next-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.submit-btn {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: white;
    opacity: 0.5;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #059669 0%, #047857 100%);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.submit-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

.prev-btn {
    background: none;
    border: none;
    color: #db2777;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 0.5rem;
}

.prev-btn:hover {
    color: #be185d;
}

.reset-btn {
    width: 100%;
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #374151;
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.reset-btn:hover {
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 100%);
}

/* ===== FORM ELEMENTS ===== */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    background: white;
    transition: all 0.2s;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: #f9a8d4;
    box-shadow: 0 0 0 3px rgba(249, 168, 212, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.required {
    color: #ef4444;
}

/* ===== INFO CARDS ===== */
.info-card {
    background: linear-gradient(90deg, #fdf2f8 0%, #eff6ff 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #fce7f3;
}

.info-text {
    color: #6b7280;
    font-weight: 500;
    text-align: center;
}

/* ===== UTILITY CLASSES ===== */
.hidden {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .quiz-card {
        padding: 2rem 1.5rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.25rem;
    }
    
    .results-header {
        padding: 2rem 1.5rem;
    }
}

/* Marketing Consent Styles */
.marketing-consent {
    margin: 1.5rem 0;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    background: white;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: all 0.2s ease;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(90deg, #ec4899 0%, #3b82f6 100%);
    border-color: #ec4899;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.125rem;
    width: 0.375rem;
    height: 0.625rem;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-text {
    color: #6b7280;
    flex: 1;
}

.terms-link {
    color: #ec4899;
    text-decoration: underline;
    font-weight: 500;
}

.terms-link:hover {
    color: #be185d;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.close {
    color: #9ca3af;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close:hover {
    color: #374151;
}

.modal-body {
    padding: 2rem;
}

.modal-body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 1.5rem 0 0.75rem 0;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body ul {
    color: #6b7280;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: right;
}

.modal-button {
    background: linear-gradient(90deg, #ec4899 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 1rem 1.5rem 0.75rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1.5rem 1.5rem;
    }
}
