/* ============================================================
   Hamdaramad Analyzer — Frontend Styles
   نسخه ۸.۲.۰ — Recommendations + Skills Selector + Top Skill Dynamic
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', system-ui, sans-serif !important;
}

body.hd-result-body,
body.hd-result-body *,
body.hd-result-body *::before,
body.hd-result-body *::after,
body.hd-result-body h1,
body.hd-result-body h2,
body.hd-result-body h3,
body.hd-result-body h4,
body.hd-result-body h5,
body.hd-result-body h6,
body.hd-result-body p,
body.hd-result-body a,
body.hd-result-body span,
body.hd-result-body div,
body.hd-result-body strong,
body.hd-result-body em,
body.hd-result-body b,
body.hd-result-body i,
body.hd-result-body u,
body.hd-result-body small,
body.hd-result-body ul,
body.hd-result-body ol,
body.hd-result-body li,
body.hd-result-body button,
body.hd-result-body input,
body.hd-result-body textarea,
body.hd-result-body select,
body.hd-result-body label,
body.hd-result-body article,
body.hd-result-body section,
body.hd-result-body header,
body.hd-result-body footer,
body.hd-result-body nav,
body.hd-result-body aside,
body.hd-result-body main,
body.hd-result-body figure,
body.hd-result-body figcaption,
body.hd-result-body blockquote,
body.hd-result-body cite,
body.hd-result-body code,
body.hd-result-body pre,
body.hd-result-body kbd,
body.hd-result-body samp,
body.hd-result-body var,
body.hd-result-body time,
body.hd-result-body mark,
body.hd-result-body output,
body.hd-result-body address,
body.hd-result-body details,
body.hd-result-body summary,
body.hd-result-body table,
body.hd-result-body th,
body.hd-result-body td,
body.hd-result-body tr,
body.hd-result-body tbody,
body.hd-result-body thead,
body.hd-result-body tfoot,
body.hd-result-body caption,
body.hd-result-body form,
body.hd-result-body fieldset,
body.hd-result-body legend,
body.hd-result-body .hd-result-hero-title,
body.hd-result-body .hd-loading-main-title,
body.hd-result-body .hd-loading-step-text,
body.hd-result-body .hd-result-section-title,
body.hd-result-body .hd-result-subtitle {
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', system-ui, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.hd-result-body {
    background: #FDF6EC;
    margin: 0;
    padding: 0;
    direction: rtl;
    color: #3D2E1F;
    line-height: 1.9;
}

.hd-result-wrapper {
    max-width: 820px;
    margin: 40px auto;
    padding: 0 20px 60px;
}

/* ============================================================
   Hero
   ============================================================ */
.hd-result-hero {
    text-align: center;
    padding: 50px 30px 40px;
    background: linear-gradient(135deg, #FFF9E6, #FDF6EC);
    border-radius: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid #FDE4A8;
}

.hd-result-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0;
    height: 6px;
    background: linear-gradient(90deg, #FBC251, #FB923C, #8B5CF6);
}

.hd-result-hero-icon {
    font-size: 72px;
    line-height: 1;
    margin-bottom: 20px;
    animation: hdBounce 3s ease-in-out infinite;
}

@keyframes hdBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hd-result-hero-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
    color: #3D2E1F;
    line-height: 1.5;
}

.hd-result-hero-subtitle {
    font-size: 17px;
    color: #7A6A55;
    margin: 0 0 22px;
    line-height: 1.9;
}

.hd-result-hero-meta {
    display: inline-flex;
    gap: 24px;
    padding: 12px 24px;
    background: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #7A6A55;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* ============================================================
   Loading
   ============================================================ */
.hd-result-loading {
    padding: 40px 20px 50px;
    background: linear-gradient(135deg, #FDF6EC 0%, #FFF9E6 100%);
    border: 1px solid #FDE4A8;
    border-radius: 24px;
}

.hd-loading-header {
    text-align: center;
    margin-bottom: 30px;
}

.hd-loading-sparkle {
    font-size: 42px;
    margin-bottom: 12px;
    animation: hdSparkleRotate 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes hdSparkleRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
}

.hd-loading-main-title {
    font-size: 21px;
    font-weight: 800;
    color: #3D2E1F;
    margin: 0;
    line-height: 1.6;
}

.hd-loading-map {
    position: relative;
    max-width: 420px;
    margin: 0 auto 30px;
    padding: 20px 10px;
}

.hd-map-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hd-map-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.35;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.hd-map-point.hd-point-active {
    opacity: 1;
    transform: scale(1.12);
}

.hd-map-point.hd-point-done {
    opacity: 1;
}

.hd-map-point-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: #FDF6EC;
    border-radius: 50%;
    border: 3px solid #FDE4A8;
    box-shadow:
        5px 5px 12px #E8D5B7,
        -5px -5px 12px #FFFFFF;
    transition: all 0.4s ease;
}

.hd-map-point.hd-point-active .hd-map-point-icon {
    border-color: #FBC251;
    background: linear-gradient(135deg, #FBC251, #FB923C);
    box-shadow:
        0 0 20px rgba(251, 194, 81, 0.8),
        5px 5px 12px #E8D5B7,
        -5px -5px 12px #FFFFFF;
    transform: scale(1.1);
}

.hd-map-point.hd-point-done .hd-map-point-icon {
    border-color: #E5A82E;
    background: linear-gradient(135deg, #FBC251, #E5A82E);
    box-shadow:
        5px 5px 12px #E8D5B7,
        -5px -5px 12px #FFFFFF;
}

.hd-map-point-label {
    font-size: 12px;
    font-weight: 700;
    color: #7A6A55;
    text-align: center;
    transition: color 0.4s ease;
}

.hd-map-point.hd-point-active .hd-map-point-label,
.hd-map-point.hd-point-done .hd-map-point-label {
    color: #3D2E1F;
}

.hd-map-point-final .hd-map-point-icon {
    width: 74px;
    height: 74px;
    font-size: 34px;
    border-width: 4px;
}

.hd-map-point-final.hd-point-done .hd-map-point-icon {
    background: linear-gradient(135deg, #FBC251, #E5A82E, #FB923C);
    border-color: #E5A82E;
    animation: hdGoldPulse 2s ease-in-out infinite;
}

@keyframes hdGoldPulse {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(251, 194, 81, 1),
            5px 5px 12px #E8D5B7,
            -5px -5px 12px #FFFFFF;
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 40px rgba(251, 194, 81, 1),
            5px 5px 12px #E8D5B7,
            -5px -5px 12px #FFFFFF;
        transform: scale(1.08);
    }
}

.hd-map-point-final .hd-map-point-label {
    font-size: 13px;
    color: #E5A82E;
    font-weight: 800;
}

.hd-map-connector {
    width: 3px;
    height: 30px;
    background: #FDE4A8;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.hd-map-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #FBC251, #FB923C);
    border-radius: 3px;
    transition: height 0.6s ease;
    box-shadow: 0 0 10px rgba(251, 194, 81, 0.8);
}

.hd-map-connector.hd-line-active::before {
    height: 50%;
}

.hd-map-connector.hd-line-done::before {
    height: 100%;
}

.hd-map-connector.hd-line-done {
    background: #FBC251;
}

.hd-loading-step-text {
    text-align: center;
    font-size: 15px;
    color: #7A6A55;
    font-weight: 600;
    margin: 0 auto 20px;
    max-width: 500px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 14px;
    border-right: 4px solid #FBC251;
    animation: hdTextFadeIn 0.4s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes hdTextFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hd-loading-progress {
    width: 100%;
    max-width: 320px;
    height: 8px;
    background: #FDE4A8;
    border-radius: 50px;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.08);
}

.hd-loading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FBC251, #FB923C, #8B5CF6);
    border-radius: 50px;
    transition: width 0.5s ease;
}

.hd-loading-note {
    font-size: 14px;
    color: #7A6A55;
    line-height: 2;
    margin: 20px auto 0;
    max-width: 540px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 16px;
    border-right: 4px solid #FBC251;
    text-align: right;
}

/* ============================================================
   Capacity Full
   ============================================================ */
.hd-result-capacity-full {
    background: linear-gradient(135deg, #FFF9E6 0%, #FEF3C7 100%);
    border-radius: 28px;
    padding: 50px 30px;
    text-align: center;
    border: 2px solid #FBC251;
    box-shadow: 0 10px 40px rgba(251, 194, 81, 0.25);
    position: relative;
    overflow: hidden;
}

.hd-result-capacity-full::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(251, 194, 81, 0.2) 0%, transparent 60%);
    animation: hdShine 4s ease-in-out infinite;
    pointer-events: none;
}

.hd-capacity-icon {
    font-size: 80px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: hdFloat 3s ease-in-out infinite;
}

@keyframes hdFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hd-capacity-title {
    font-size: 24px;
    font-weight: 800;
    color: #3D2E1F;
    margin: 0 0 20px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.hd-capacity-text {
    font-size: 15.5px;
    color: #7A6A55;
    line-height: 2.1;
    margin: 0 0 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.hd-capacity-text strong {
    color: #3D2E1F;
}

.hd-copy-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #FDF6EC;
    color: #3D2E1F;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow:
        6px 6px 16px #E8D5B7,
        -6px -6px 16px #FFFFFF;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hd-copy-link-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        8px 8px 20px #E8D5B7,
        -8px -8px 20px #FFFFFF;
    color: #E5A82E;
}

.hd-copy-link-btn.hd-copy-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

@keyframes hdShine {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

/* ============================================================
   عنوان بخش‌ها
   ============================================================ */
.hd-result-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #3D2E1F;
    margin: 40px 0 20px;
    text-align: center;
}

.hd-result-subtitle {
    font-size: 17px;
    font-weight: 800;
    color: #3D2E1F;
    margin: 0 0 16px;
    line-height: 1.6;
}

/* ============================================================
   اعلامیه‌ها (Notices)
   ============================================================ */
.hd-result-notices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.hd-result-notice {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    border-right: 4px solid #8B5CF6;
    background: #F5F0FF;
}

.hd-result-notice-info {
    background: #F5F0FF;
    border-right-color: #8B5CF6;
}

.hd-result-notice-warning {
    background: #FFF9E6;
    border-right-color: #FBC251;
}

.hd-result-notice-success {
    background: #F0FDF4;
    border-right-color: #10B981;
}

.hd-result-notice-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}

.hd-result-notice-body {
    flex: 1;
}

.hd-result-notice-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #3D2E1F;
    margin-bottom: 4px;
}

.hd-result-notice-text {
    font-size: 13.5px;
    color: #3D2E1F;
    line-height: 1.8;
}

/* ============================================================
   سه پیشنهاد اصلی (Recommendations)
   ============================================================ */
.hd-result-top-models {
    margin-bottom: 24px;
}

.hd-result-model-card {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: #fff;
    border: 2px solid #DDD6FE;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hd-result-model-card:hover {
    transform: translateX(-6px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}

.hd-result-model-type-best_fit {
    border-color: #8B5CF6;
    background: linear-gradient(135deg, #fff 0%, #FAF7FF 100%);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.15);
}

.hd-result-model-type-fastest_income {
    border-color: #FBC251;
    background: linear-gradient(135deg, #FFF9E6, #FEF3C7);
    box-shadow: 0 8px 28px rgba(251, 194, 81, 0.2);
}

.hd-result-model-type-scalable {
    border-color: #10B981;
    background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.15);
}

.hd-result-model-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50px;
    color: #fff;
    margin-bottom: 12px;
}

.hd-result-model-badge-best_fit {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.3);
}

.hd-result-model-badge-fastest_income {
    background: linear-gradient(135deg, #FBC251, #E5A82E);
    box-shadow: 0 3px 10px rgba(251, 194, 81, 0.4);
}

.hd-result-model-badge-scalable {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.hd-result-model-content {
    flex: 1;
    min-width: 200px;
    text-align: right;
}

.hd-result-model-name {
    font-size: 17px;
    font-weight: 800;
    color: #3D2E1F;
    margin-bottom: 8px;
    line-height: 1.6;
}

.hd-result-model-im {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
    align-items: center;
    flex-wrap: wrap;
}

.hd-result-model-im-label {
    font-weight: 700;
    color: #7A6A55;
}

.hd-result-model-im-value {
    display: inline-block;
    padding: 3px 10px;
    background: #FDF6EC;
    color: #7A4F00;
    font-weight: 700;
    font-size: 12.5px;
    border-radius: 50px;
    border: 1px solid #FDE4A8;
}

.hd-result-model-why {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.hd-result-model-why li {
    padding: 4px 20px 4px 0;
    position: relative;
    font-size: 13px;
    line-height: 1.9;
    color: #7A6A55;
}

.hd-result-model-why li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: 4px;
    color: #10B981;
    font-weight: 900;
    font-size: 13px;
}

.hd-result-model-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.hd-meta-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #FFF3CD;
    color: #7A4F00;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid #FDE4A8;
}

.hd-meta-badge-step {
    background: #F5F0FF;
    color: #6D28D9;
    border-color: #DDD6FE;
}

.hd-result-model-percent {
    font-size: 28px;
    font-weight: 900;
    color: #E5A82E;
    flex-shrink: 0;
    align-self: center;
}

/* ============================================================
   AI Section (نقاط قوت/ضعف/گپ‌ها)
   ============================================================ */
.hd-result-ai-section {
    background: linear-gradient(135deg, #F5F0FF 0%, #EDE9FE 100%);
    border-radius: 28px;
    padding: 36px 28px;
    margin-bottom: 24px;
    border: 2px dashed #C4B5FD;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.hd-result-ai-section .hd-result-section-title {
    margin-top: 0;
    color: #6D28D9;
}

.hd-result-strengths {
    margin: 24px 0;
}

.hd-result-strengths .hd-result-subtitle {
    text-align: center;
    color: #059669;
    margin-bottom: 20px;
}

.hd-result-strength {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 10px;
    border-right: 4px solid #10B981;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hd-result-strength:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.hd-result-strength-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.4;
}

.hd-result-strength-content {
    flex: 1;
}

.hd-result-strength-title {
    font-size: 15px;
    font-weight: 800;
    color: #3D2E1F;
    margin-bottom: 5px;
    line-height: 1.6;
}

.hd-result-strength-desc {
    font-size: 13.5px;
    color: #7A6A55;
    line-height: 1.9;
}

.hd-result-weaknesses {
    margin: 24px 0;
}

.hd-result-weaknesses .hd-result-subtitle {
    text-align: center;
    color: #DC2626;
    margin-bottom: 20px;
}

.hd-result-weakness {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 10px;
    border-right: 4px solid #EF4444;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hd-result-weakness:hover {
    transform: translateX(-4px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.15);
}

.hd-result-weakness-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.4;
}

.hd-result-weakness-content {
    flex: 1;
}

.hd-result-weakness-title {
    font-size: 15px;
    font-weight: 800;
    color: #3D2E1F;
    margin-bottom: 5px;
    line-height: 1.6;
}

.hd-result-weakness-desc {
    font-size: 13.5px;
    color: #7A6A55;
    line-height: 1.9;
}

.hd-result-gaps {
    margin: 24px 0;
    padding: 20px 22px;
    background: #fff;
    border-radius: 16px;
    border-right: 4px solid #FBC251;
}

.hd-result-gaps .hd-result-subtitle {
    text-align: center;
    color: #7A4F00;
    margin-bottom: 12px;
}

.hd-result-gaps-intro {
    font-size: 13.5px;
    color: #7A6A55;
    line-height: 1.9;
    margin: 0 0 16px;
    text-align: center;
}

.hd-result-gap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #FFF9E6;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #3D2E1F;
}

.hd-result-gap:last-child { margin-bottom: 0; }

.hd-result-gap-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.hd-result-gap-area {
    flex: 1;
}

.hd-result-locked {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FEF3C7 100%);
    border-radius: 20px;
    margin-top: 28px;
    border: 2px solid #FBC251;
    position: relative;
    overflow: hidden;
}

.hd-result-locked::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(251, 194, 81, 0.25) 0%, transparent 60%);
    animation: hdShine 3s ease-in-out infinite;
    pointer-events: none;
}

.hd-result-locked-icon {
    font-size: 48px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.hd-result-locked-title {
    font-size: 19px;
    font-weight: 800;
    color: #3D2E1F;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.hd-result-locked-desc {
    font-size: 14.5px;
    color: #7A6A55;
    line-height: 2;
    margin: 0 auto;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   مزیت‌های مشاوره (Consultation Benefits)
   ============================================================ */
.hd-result-consultation {
    background: #fff;
    border-radius: 24px;
    padding: 32px 26px;
    margin-bottom: 24px;
    border: 1px solid #FDE4A8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hd-result-consultation .hd-result-section-title {
    margin-top: 0;
    color: #E5A82E;
}

.hd-result-consultation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.hd-result-consultation-item {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    background: #FDF6EC;
    border-radius: 14px;
    border: 1px solid #FDE4A8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hd-result-consultation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 194, 81, 0.2);
}

.hd-result-consultation-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1.3;
}

.hd-result-consultation-content {
    flex: 1;
}

.hd-result-consultation-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #3D2E1F;
    margin-bottom: 4px;
}

.hd-result-consultation-desc {
    font-size: 13px;
    color: #7A6A55;
    line-height: 1.8;
}

/* ============================================================
   Pain Section
   ============================================================ */
.hd-result-pain-section {
    background: linear-gradient(180deg, #fff 0%, #FEF9F0 100%);
    border-radius: 28px;
    padding: 45px 34px;
    margin-bottom: 24px;
    border: 1px solid #FDE4A8;
    box-shadow: 0 8px 32px rgba(251, 194, 81, 0.12);
}

.hd-result-pain-intro {
    font-size: 17px;
    color: #3D2E1F;
    margin: 0 0 22px;
    line-height: 2;
}

.hd-result-pain-list {
    font-size: 16px;
    color: #3D2E1F;
    line-height: 2.4;
    margin: 0 0 26px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 16px;
    border-right: 5px solid #FBC251;
    font-weight: 600;
}

.hd-result-pain-real {
    font-size: 17px;
    color: #3D2E1F;
    margin: 0 0 16px;
    line-height: 2;
}

.hd-result-pain-points {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    counter-reset: pain-counter;
}

.hd-result-pain-points li {
    counter-increment: pain-counter;
    position: relative;
    padding: 16px 60px 16px 22px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #FDE4A8;
    font-size: 15.5px;
    color: #3D2E1F;
    line-height: 1.9;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(251, 194, 81, 0.08);
}

.hd-result-pain-points li::before {
    content: counter(pain-counter);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FBC251, #FB923C);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(251, 194, 81, 0.4);
    font-family: 'Vazirmatn', 'IRANSans', 'Tahoma', system-ui, sans-serif !important;
}

.hd-result-good-news {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 28px;
    background: linear-gradient(135deg, #F5F0FF 0%, #EDE9FE 100%);
    border-radius: 20px;
    border: 2px solid #C4B5FD;
    margin: 26px 0;
    box-shadow:
        8px 8px 20px #E8D5B7,
        -8px -8px 20px #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hd-result-good-news::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    animation: hdShine 4s ease-in-out infinite;
    pointer-events: none;
}

.hd-result-good-news-icon {
    font-size: 48px;
    flex-shrink: 0;
    animation: hdBounce 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hd-result-good-news-text {
    font-size: 16px;
    color: #3D2E1F;
    line-height: 2;
    margin: 0;
    position: relative;
    z-index: 1;
}

.hd-result-good-news-text strong {
    color: #6D28D9;
    font-size: 17px;
}

.hd-result-pain-map {
    font-size: 16px;
    color: #3D2E1F;
    line-height: 2.2;
    margin: 26px 0;
    text-align: center;
    padding: 20px 24px;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #FDE4A8;
}

.hd-result-pain-map strong {
    color: #E5A82E;
}

.hd-result-coach {
    display: flex;
    gap: 20px;
    padding: 28px 26px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FEF3C7 100%);
    border-radius: 22px;
    border: 2px solid #FBC251;
    margin: 26px 0;
    box-shadow: 0 6px 24px rgba(251, 194, 81, 0.2);
}

.hd-result-coach-avatar {
    font-size: 64px;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}

.hd-result-coach-content {
    flex: 1;
}

.hd-result-coach-name {
    font-size: 17px;
    color: #3D2E1F;
    margin: 0 0 12px;
    line-height: 1.7;
}

.hd-result-coach-bio {
    font-size: 15px;
    color: #7A6A55;
    line-height: 2.1;
    margin: 0 0 16px;
}

.hd-result-coach-bio strong {
    color: #E5A82E;
}

.hd-result-coach-promise {
    font-size: 15.5px;
    color: #3D2E1F;
    margin: 0 0 12px;
    line-height: 1.8;
}

.hd-result-coach-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hd-result-coach-list li {
    font-size: 15px;
    color: #3D2E1F;
    line-height: 2;
    padding: 8px 0;
    font-weight: 600;
}

.hd-result-personal-message {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #F5F0FF 0%, #EDE9FE 100%);
    border-radius: 18px;
    border-right: 4px solid #8B5CF6;
    margin: 26px 0;
}

.hd-result-personal-message-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1.3;
}

.hd-result-personal-message-text {
    font-size: 15px;
    color: #3D2E1F;
    line-height: 2.2;
    margin: 0;
    font-style: italic;
}

.hd-result-final-call {
    font-size: 19px;
    color: #3D2E1F;
    text-align: center;
    margin: 28px 0 24px;
    line-height: 2;
}

.hd-result-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 30px 0 24px;
}

.hd-result-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 60px;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.3;
}

.hd-result-cta-btn-primary {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    animation: hdPulse 2.5s ease-in-out infinite;
}

.hd-result-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
    color: #fff;
}

@keyframes hdPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 36px rgba(37, 211, 102, 0.7); }
}

.hd-result-cta-btn-secondary {
    background: #fff;
    color: #3D2E1F;
    border: 2px solid #FBC251;
    box-shadow: 0 4px 16px rgba(251, 194, 81, 0.2);
}

.hd-result-cta-btn-secondary:hover {
    background: #FDF6EC;
    transform: translateY(-3px);
}

.hd-result-cta-btn-icon {
    font-size: 22px;
}

.hd-result-footer-wish {
    text-align: center;
    font-size: 15px;
    color: #7A6A55;
    font-weight: 600;
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px dashed #FDE4A8;
}

/* ============================================================
   Disclaimer
   ============================================================ */
.hd-result-disclaimer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #FEF2F2;
    border-radius: 14px;
    border-right: 4px solid #EF4444;
    margin-top: 20px;
}

.hd-result-disclaimer-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}

.hd-result-disclaimer-text {
    font-size: 13px;
    color: #3D2E1F;
    line-height: 1.9;
    font-weight: 600;
}

/* ============================================================
   ⭐ HD Top Skill Options — گزینه‌های سؤال ۱۳ (داینامیک)
   نسخه ۸.۲.۰
   ============================================================ */

#hd-top-skill-field {
    animation: hdSlideDown 0.4s ease;
}

@keyframes hdSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

#hd-top-skill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

#hd-top-skill-options .hd-option-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: #FDF6EC;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3D2E1F;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 4px 4px 10px #E8D5B7, -4px -4px 10px #FFFFFF;
    user-select: none;
    position: relative;
}

#hd-top-skill-options .hd-option-item:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 14px #E8D5B7, -6px -6px 14px #FFFFFF;
}

#hd-top-skill-options .hd-option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

#hd-top-skill-options .hd-option-item:has(input:checked) {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: #fff;
    border-color: #6D28D9;
    box-shadow: inset 3px 3px 8px rgba(0,0,0,0.15),
                inset -3px -3px 8px rgba(255,255,255,0.25),
                0 6px 16px rgba(139, 92, 246, 0.5);
}

#hd-top-skill-options .hd-option-item:has(input:checked) span::before {
    content: '✓ ';
    font-weight: 900;
    margin-left: 2px;
}

/* Fallback برای مرورگرهای قدیمی (بدون :has) */
#hd-top-skill-options .hd-option-item input[type="radio"]:checked + span {
    color: #fff;
}

#hd-top-skill-options .hd-option-item.hd-option-selected {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: #fff;
    border-color: #6D28D9;
    box-shadow: inset 3px 3px 8px rgba(0,0,0,0.15),
                inset -3px -3px 8px rgba(255,255,255,0.25),
                0 6px 16px rgba(139, 92, 246, 0.5);
}

.hd-top-skill-error {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #E53E3E;
    font-size: 13px;
    font-weight: 700;
    margin-top: 12px;
    padding: 10px 14px;
    background: #FEF2F2;
    border-right: 4px solid #EF4444;
    border-radius: 10px;
    animation: hdShake 0.4s ease;
}

@keyframes hdShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ============================================================
   ریسپانسیو
   ============================================================ */
@media (max-width: 768px) {
    .hd-result-wrapper {
        margin: 20px auto;
        padding: 0 14px 40px;
    }

    .hd-result-hero {
        padding: 36px 20px 30px;
        border-radius: 22px;
    }

    .hd-result-hero-icon { font-size: 56px; }
    .hd-result-hero-title { font-size: 23px; }
    .hd-result-hero-subtitle { font-size: 15px; }

    .hd-result-hero-meta {
        flex-direction: column;
        gap: 6px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .hd-result-capacity-full {
        padding: 40px 20px;
        border-radius: 22px;
    }

    .hd-capacity-icon { font-size: 60px; }
    .hd-capacity-title { font-size: 19px; }
    .hd-capacity-text { font-size: 14px; }

    .hd-result-loading {
        padding: 30px 16px 40px;
    }

    .hd-loading-main-title { font-size: 17px; }
    .hd-loading-sparkle { font-size: 36px; }

    .hd-loading-map {
        padding: 10px;
    }

    .hd-map-point-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .hd-map-point-final .hd-map-point-icon {
        width: 62px;
        height: 62px;
        font-size: 28px;
    }

    .hd-map-point-label {
        font-size: 10px;
    }

    .hd-map-point-final .hd-map-point-label {
        font-size: 11px;
    }

    .hd-map-connector {
        height: 24px;
    }

    .hd-loading-note {
        font-size: 13px;
        padding: 14px 16px;
    }

    .hd-result-section-title {
        font-size: 18px;
        margin: 30px 0 16px;
    }

    .hd-result-subtitle { font-size: 15px; }

    .hd-result-notice {
        flex-direction: column;
        gap: 8px;
    }

    .hd-result-model-card {
        padding: 16px;
        gap: 10px;
        border-radius: 16px;
    }

    .hd-result-model-badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    .hd-result-model-name { font-size: 15px; }
    .hd-result-model-percent { font-size: 22px; }

    .hd-result-model-why li {
        font-size: 12.5px;
    }

    .hd-result-ai-section {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .hd-result-strength,
    .hd-result-weakness {
        padding: 14px 16px;
    }

    .hd-result-strength-title,
    .hd-result-weakness-title {
        font-size: 14px;
    }

    .hd-result-strength-desc,
    .hd-result-weakness-desc {
        font-size: 12.5px;
    }

    .hd-result-gaps {
        padding: 16px 18px;
    }

    .hd-result-gap {
        font-size: 13px;
        padding: 8px 12px;
    }

    .hd-result-locked { padding: 24px 18px; }
    .hd-result-locked-icon { font-size: 40px; }
    .hd-result-locked-title { font-size: 17px; }
    .hd-result-locked-desc { font-size: 13.5px; }

    .hd-result-consultation {
        padding: 24px 18px;
    }

    .hd-result-consultation-grid {
        grid-template-columns: 1fr;
    }

    .hd-result-consultation-item {
        padding: 14px 16px;
    }

    .hd-result-consultation-title {
        font-size: 13.5px;
    }

    .hd-result-consultation-desc {
        font-size: 12.5px;
    }

    .hd-result-pain-section {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .hd-result-pain-intro { font-size: 15px; }
    .hd-result-pain-list { font-size: 14px; padding: 16px 18px; }
    .hd-result-pain-real { font-size: 15px; }

    .hd-result-pain-points li {
        font-size: 14px;
        padding: 14px 50px 14px 18px;
    }

    .hd-result-pain-points li::before {
        width: 30px;
        height: 30px;
        font-size: 13px;
        right: 12px;
    }

    .hd-result-good-news {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 18px;
    }

    .hd-result-good-news-icon { font-size: 40px; }
    .hd-result-good-news-text { font-size: 14.5px; }

    .hd-result-pain-map { font-size: 14.5px; padding: 16px 18px; }

    .hd-result-coach {
        flex-direction: column;
        padding: 22px 20px;
    }

    .hd-result-coach-avatar { font-size: 52px; }
    .hd-result-coach-name { font-size: 15.5px; }
    .hd-result-coach-bio { font-size: 13.5px; }
    .hd-result-coach-list li { font-size: 14px; }

    .hd-result-personal-message {
        flex-direction: column;
        gap: 10px;
        padding: 16px 18px;
    }

    .hd-result-personal-message-text {
        font-size: 14px;
    }

    .hd-result-final-call { font-size: 16px; }

    .hd-result-cta-btn {
        padding: 17px 24px;
        font-size: 14.5px;
        border-radius: 50px;
    }

    .hd-result-cta-btn-icon { font-size: 20px; }

    .hd-copy-link-btn {
        font-size: 14px;
        padding: 12px 22px;
    }

    .hd-result-disclaimer {
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px;
    }

    /* ⭐ Top Skill در موبایل */
    #hd-top-skill-options {
        gap: 8px;
    }

    #hd-top-skill-options .hd-option-item {
        padding: 10px 15px;
        font-size: 13.5px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .hd-result-hero-title { font-size: 20px; }

    .hd-result-model-content { width: 100%; }
    .hd-result-model-percent {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .hd-loading-main-title { font-size: 15px; }

    .hd-result-cta-btn {
        font-size: 13.5px;
        padding: 15px 20px;
    }
}