/* ===================================
   Eligibility Assessment Page
   =================================== */

.assessment-main {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1425 100%);
    min-height: 100vh;
    padding-bottom: 4rem;
}

/* ===================================
   Hero Section
   =================================== */

.assessment-hero {
    padding: 4rem 1rem 2rem;
    text-align: center;
}

.assessment-hero__container {
    max-width: 800px;
    margin: 0 auto;
}

.assessment-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.assessment-hero__subtitle {
    font-size: 1.125rem;
    color: #cffafe;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

.assessment-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.assessment-meta__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #22d3ee;
    font-size: 0.95rem;
    font-weight: 500;
}

.assessment-meta__item svg {
    color: #22d3ee;
}

/* ===================================
   Intro Section
   =================================== */

.assessment-intro {
    padding: 3rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.assessment-intro__container {
    max-width: 1200px;
    margin: 0 auto;
}

.assessment-intro__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.assessment-intro__box {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.assessment-intro__box--positive {
    border-color: rgba(34, 211, 238, 0.4);
}

.assessment-intro__box--negative {
    border-color: rgba(239, 68, 68, 0.3);
}

.assessment-intro__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.assessment-intro__box--positive .assessment-intro__heading {
    color: #22d3ee;
}

.assessment-intro__box--negative .assessment-intro__heading {
    color: #fca5a5;
}

.assessment-intro__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.assessment-intro__list li {
    color: #cffafe;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    line-height: 1.6;
}

.assessment-intro__list li:last-child {
    border-bottom: none;
}

.assessment-intro__box--positive .assessment-intro__list li:before {
    content: '✓ ';
    color: #22d3ee;
    font-weight: 700;
    margin-right: 0.5rem;
}

.assessment-intro__box--negative .assessment-intro__list li:before {
    content: '✗ ';
    color: #fca5a5;
    font-weight: 700;
    margin-right: 0.5rem;
}

.assessment-intro__privacy {
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 2rem;
}

/* ===================================
   Form Section
   =================================== */

.assessment-form-section {
    padding: 3rem 1rem;
}

.assessment-form__container {
    max-width: 700px;
    margin: 0 auto;
}

/* Progress Bar */
.assessment-progress {
    margin-bottom: 3rem;
}

.assessment-progress__bar {
    height: 8px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.assessment-progress__fill {
    height: 100%;
    background: linear-gradient(to right, #22d3ee, #3b82f6);
    border-radius: 9999px;
    transition: width 0.3s ease;
    width: 10%;
}

.assessment-progress__text {
    text-align: center;
    color: #cffafe;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Questions */
.assessment-question {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

.assessment-question__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.assessment-question__note {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(34, 211, 238, 0.05);
    border-left: 3px solid rgba(34, 211, 238, 0.3);
    border-radius: 0.5rem;
}

/* Options */
.assessment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assessment-option {
    position: relative;
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(34, 211, 238, 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}

.assessment-option:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(30, 41, 59, 0.7);
}

.assessment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.assessment-option input[type="radio"]:checked + span {
    color: #22d3ee;
    font-weight: 600;
}

.assessment-option input[type="radio"]:checked ~ span:before {
    content: '✓ ';
    margin-right: 0.5rem;
}

.assessment-option:has(input:checked) {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.assessment-option span {
    color: #cffafe;
    font-size: 1rem;
    line-height: 1.5;
}

/* Select Input */
.assessment-input {
    margin-top: 1rem;
}

.assessment-select {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.7);
    border: 2px solid rgba(34, 211, 238, 0.2);
    border-radius: 0.75rem;
    color: #cffafe;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.assessment-select:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

.assessment-select option {
    background: #1e293b;
    color: #cffafe;
    padding: 0.5rem;
}

/* Navigation */
.assessment-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.assessment-btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
}

.assessment-btn--back {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(34, 211, 238, 0.3);
    color: #cffafe;
}

.assessment-btn--back:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #22d3ee;
}

.assessment-btn--next,
.assessment-btn--submit {
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: white;
    border: none;
}

.assessment-btn--next:hover:not(:disabled),
.assessment-btn--submit:hover {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
    transform: translateY(-2px);
}

.assessment-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===================================
   Results Section
   =================================== */

.assessment-results {
    animation: fadeIn 0.5s ease;
}

.assessment-result-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
}

.assessment-result-card--green {
    border: 2px solid rgba(34, 211, 238, 0.4);
    background: linear-gradient(135deg, rgba(3, 102, 120, 0.2) 0%, rgba(15, 118, 110, 0.1) 100%);
}

.assessment-result-card--yellow {
    border: 2px solid rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
}

.assessment-result-card--red {
    border: 2px solid rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.2) 0%, rgba(59, 18, 18, 0.1) 100%);
}

.assessment-result__icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.assessment-result__title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
}

.assessment-result__message {
    font-size: 1.125rem;
    color: #cffafe;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.assessment-result__details {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.assessment-result__details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.assessment-result__details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.assessment-result__details li {
    color: #cffafe;
    font-size: 0.95rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    line-height: 1.6;
}

.assessment-result__details li:last-child {
    border-bottom: none;
}

.assessment-result__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.assessment-result__btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.assessment-result__btn--primary {
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    color: white;
}

.assessment-result__btn--primary:hover {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
    transform: translateY(-2px);
}

.assessment-result__btn--secondary {
    background: rgba(30, 41, 59, 0.5);
    border: 2px solid rgba(34, 211, 238, 0.3);
    color: #22d3ee;
}

.assessment-result__btn--secondary:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #22d3ee;
}

/* ===================================
   Disclaimer
   =================================== */

.assessment-disclaimer {
    padding: 2rem 1rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.assessment-disclaimer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.assessment-disclaimer__text {
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
}

.assessment-disclaimer__text strong {
    color: #cffafe;
}

/* ===================================
   Animations
   =================================== */

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

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
    .assessment-hero {
        padding: 2rem 1rem;
    }

    .assessment-meta {
        gap: 1rem;
    }

    .assessment-intro__grid {
        grid-template-columns: 1fr;
    }

    .assessment-question__title {
        font-size: 1.25rem;
    }

    .assessment-option {
        padding: 1rem;
    }

    .assessment-nav {
        flex-direction: column;
    }

    .assessment-result-card {
        padding: 2rem 1.5rem;
    }

    .assessment-result__title {
        font-size: 1.5rem;
    }

    .assessment-result__cta {
        margin-top: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
