/* Assessment Results Page Styles */

.assessment-results-page {
    background: #e8f5e9;
    min-height: 100vh;
    padding: 2rem 0;
}

.results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Back Button */
.back-button-wrapper {
    margin-bottom: 2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* Title */
.results-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 2rem;
    text-align: left;
}

/* Results Card */
.results-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.header-icon {
    font-size: 2rem;
    color: #667eea;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

/* Analysis Content */
.analysis-intro {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.analysis-intro p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

.analysis-intro-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
}

.analysis-note {
    margin-top: 0.5rem;
    color: #343a40;
}

.results-highlights {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.results-highlights__title {
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    color: #212529;
}

.results-highlights ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #495057;
}

.results-highlights li {
    margin-bottom: 0.35rem;
}

.upsell-block {
    margin: 2rem 0;
    padding: 2.25rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.upsell-block h3 {
    margin: 0 0 1rem 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #111827;
}

.upsell-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    background: #429cf8;
    color: white;
    border: 2px solid #2f86e0;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 18px rgba(66, 156, 248, 0.35);
}

.upsell-button:hover {
    background: #2f86e0;
    box-shadow: 0 10px 22px rgba(47, 134, 224, 0.4);
    transform: translateY(-1px);
}

.analysis-content {
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    line-height: 1.8;
    color: #212529;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.analysis-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Structured Results - Clean Design */
.structured-results {
    white-space: normal;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Unified Block Style - простые белые блоки без левой обводки */
.result-block {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.block-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
}

/* Intro Block */
.intro-block {
    background: #f0f4f8;
}

.intro-block p {
    margin: 0;
    color: #374151;
    line-height: 1.7;
}

/* Readiness Block */
.readiness-block {
    background: #e8f5e9;
}

.readiness-title {
    margin: 0 0 0.75rem 0;
    color: #1b5e20;
    font-size: 1.25rem;
    font-weight: 700;
}

.readiness-description {
    margin: 0 0 1.25rem 0;
    color: #2e7d32;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Video Block */
.video-block {
    background: #e8f5e9;
}

.video-block h3.video-title,
.video-block .video-title {
    margin: 0 0 1.5rem 0;
    color: #111827;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kinescope-embed,
.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.services-hint {
    background: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.services-hint strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #212529;
}

.services-hint ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.services-hint li {
    margin-bottom: 0.5rem;
    color: #495057;
    line-height: 1.5;
}

/* Criteria Chips - фиолетовые рамки с белым текстом */
.criteria-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
}

.criteria-chip {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.75rem 1.5rem !important;
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35) !important;
    border: none !important;
}

/* Highlight Block - для сильных комбинаций */
.highlight-block {
    background: #e3f2fd;
}

.highlight-block p {
    margin: 0;
    color: #1565c0;
}

/* Warning Block - для предупреждений и противоречий */
.warning-block {
    background: #fff8e1;
}

.warning-block .block-title {
    color: #e65100;
}

.warning-block ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #bf360c;
}

.warning-block li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Recommendations Block - светлый фон, тёмный текст */
.recommendations-block {
    background: #fff8e1;
}

.recommendations-block .block-title {
    color: #e65100;
}

.recommendations-block ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #37474f;
}

.recommendations-block li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Outro Block - мотивирующее заключение */
.outro-block {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
}

.outro-text {
    margin: 0;
    color: #0d47a1;
    font-size: 1.1rem;
    line-height: 1.7;
}

.analysis-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.analysis-content li {
    margin-bottom: 0.5rem;
}

.full-access-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem 2rem;
    background: #f4f7ff;
    border-radius: 18px;
    border: 1px solid #d8e4ff;
}

.full-access-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.full-access-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #4b5563;
    margin: 0 auto 2rem auto;
    max-width: 900px;
}

.full-access-card {
    background: #fff;
    border: 1px solid #d8e4ff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.full-access-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

.full-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem 1.75rem;
}

.full-access-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.full-access-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.full-access-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.full-access-item p {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

.pricing-section {
    margin-top: 2.5rem;
}

.pricing-card {
    background: #f4f8ff;
    border: 1px solid #cfe1ff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.pricing-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #1f2937;
}

.pricing-countdown-label {
    font-size: 1.05rem;
    font-weight: 600;
}

.pricing-timer {
    font-size: 3rem;
    font-weight: 800;
    color: #3ba5ff;
}

.pricing-divider {
    margin: 1.5rem 0;
    height: 1px;
    background: #cfe1ff;
}

.pricing-plan-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.pricing-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: #3ba5ff;
}

.pricing-old-price {
    font-size: 1.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.pricing-savings {
    font-size: 1.05rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 1.5rem;
}

.pricing-button {
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 10px;
    background: #419cf8;
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(65, 156, 248, 0.35);
    transition: all 0.2s ease;
}

.pricing-button:hover {
    background: #2f86e0;
    transform: translateY(-1px);
}

.pricing-note {
    margin-top: 1rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.info-section {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: #f4f7ff;
    border: 1px solid #d8e4ff;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.6rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
}

.info-card p {
    margin: 0 0 0.85rem 0;
    color: #374151;
    line-height: 1.6;
}

.info-quote {
    font-weight: 700;
    color: #111827;
}

.long-testimonials {
    margin-top: 2.5rem;
    padding: 2.5rem 2rem;
    background: #f4f7ff;
    border: 1px solid #d8e4ff;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.long-testimonials h3 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
}

.long-testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

.long-testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f5;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}

.long-testimonial-meta {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #4f46e5;
    margin-bottom: 0.75rem;
}

.long-testimonial-card p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-size: 1rem;
}

/* Email Confirmation */
.email-confirmation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
}

.email-confirmation i {
    font-size: 1.25rem;
}

/* Action Buttons */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-get-map {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-get-map:hover {
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

.btn-get-map i {
    font-size: 1.25rem;
}

/* Loading State */
.loading-message {
    text-align: center;
    padding: 3rem;
}

.loading-message p {
    margin-top: 1rem;
    color: #667eea;
    font-weight: 600;
}

/* Error State */
.error-message {
    text-align: center;
    padding: 2rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-message p {
    margin: 0;
    font-weight: 500;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 3rem;
}

.no-results p {
    margin-bottom: 1.5rem;
    color: #6c757d;
    font-size: 1.125rem;
}

.btn-back {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #5568d3;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .assessment-results-page {
        padding: 1rem 0;
    }

    .results-title {
        font-size: 1.5rem;
    }

    .results-card {
        padding: 2rem 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-header h2 {
        font-size: 1.25rem;
    }

    .analysis-content {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .btn-get-map {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .results-container {
        padding: 0 15px;
    }

    .results-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .results-card {
        padding: 1.5rem 1rem;
    }

    .analysis-intro {
        padding: 0.875rem;
    }

    .analysis-content {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .btn-get-map {
        font-size: 0.95rem;
    }
}
