/**
 * Pioneers Assessment - Public Styles
 * Styles for the public-facing assessment forms
 */

/* Fix Material Symbols icons in RTL contexts.
   Icons are ligature-based: the text "arrow_forward" must be shaped as LTR Latin
   text for the font to substitute the glyph. Setting dir="rtl" or lang="ar" on
   a parent prevents ligature formation even with CSS direction:ltr unless we use
   unicode-bidi:bidi-override (which forces all characters to be LTR in the bidi
   algorithm) and explicitly enable the liga OpenType feature. */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    font-feature-settings: 'liga' 1;
    -webkit-font-feature-settings: 'liga' 1;
    font-variant-ligatures: normal;
}

/* Base styles for assessment form */
.pioneers-assessment-form {
    font-family: 'Manrope', 'Inter', 'Noto Sans', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

/* Make shortcode output full width on normal pages */
body.pioneers-assessment-page .pioneers-assessment-form {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ============================================ */
/* Assessment Page (Question View) Styling */
/* ============================================ */

/* Background Decorations */
.pioneers-assess-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.pioneers-assess-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.pioneers-assess-bg-orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
    animation: pioneers-float-orb 20s ease-in-out infinite;
}

.pioneers-assess-bg-orb-2 {
    bottom: -10%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
    animation: pioneers-float-orb 25s ease-in-out infinite reverse;
}

.pioneers-assess-bg-orb-3 {
    top: 40%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
    animation: pioneers-float-orb 18s ease-in-out infinite 5s;
}

@keyframes pioneers-float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.pioneers-assessment-main {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 60px;
    position: relative;
    z-index: 1;
}

.pioneers-assessment-container {
    width: 100%;
    max-width: 960px;
}

/* ---- Progress Block ---- */
.pioneers-progress-block {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 16px;
    padding: 18px 24px 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.pioneers-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.pioneers-progress-step-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pioneers-progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--form-primary, #8B5CF6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.pioneers-progress-icon .material-symbols-outlined {
    font-size: 20px;
}

.pioneers-progress-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--form-primary, #8B5CF6);
    margin: 0 0 2px 0;
}

.pioneers-progress-section {
    display: block;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

.pioneers-progress-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.pioneers-progress-counter {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.pioneers-progress-counter .pioneers-progress-current {
    color: var(--form-primary, #8B5CF6);
}

.pioneers-progress-counter .pioneers-progress-divider {
    color: #cbd5e1;
    margin: 0 2px;
    font-weight: 400;
}

.pioneers-progress-counter .pioneers-progress-total {
    color: #94a3b8;
    font-weight: 600;
}

.pioneers-progress-percent {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--form-primary, #8B5CF6);
}

.pioneers-progress-meta {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.pioneers-progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.pioneers-progress-bar-fill {
    height: 100%;
    background: var(--form-primary, #8B5CF6);
    background-size: 200% 100%;
    border-radius: inherit;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    animation: pioneers-progress-shimmer 3s ease infinite;
}

@keyframes pioneers-progress-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.pioneers-progress-text {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin: 12px 0 0;
}

/* ---- Assessment Card (contains all questions) ---- */
.pioneers-assessment-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.06),
        0 24px 60px rgba(15, 23, 42, 0.08),
        0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

/* ---- Question Card (individual question) ---- */
.pioneers-question-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    box-shadow: none;
    animation: pioneers-question-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pioneers-question-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pioneers-question-card:hover {
    box-shadow: none;
}

.pioneers-question-body {
    padding: 28px 40px 20px;
}

.pioneers-question-header {
    margin-bottom: 18px;
}

.pioneers-question-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pioneers-question-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.08);
    color: #7C3AED;
    border: 1px solid rgba(139, 92, 246, 0.12);
}

.pioneers-question-badge .material-symbols-outlined {
    font-size: 14px;
    opacity: 0.7;
}

.pioneers-required-star {
    color: #ef4444;
    font-weight: 700;
    font-size: 1em;
    margin-inline-start: 3px;
    vertical-align: baseline;
}

.pioneers-question-text {
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
    white-space: pre-line;
}

.pioneers-question-text .required {
    color: #ef4444;
    margin-left: 4px;
}

.pioneers-question-desc {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
}

.pioneers-question-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ---- Choice Options (Radio/Checkbox) ---- */
.pioneers-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.pioneers-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139,92,246,0.06), rgba(99,102,241,0.04));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pioneers-option:hover {
    border-color: #c4b5fd;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.08);
    transform: translateY(-1px);
}

.pioneers-option:hover::before {
    opacity: 1;
}

.pioneers-option.selected {
    border-color: var(--form-primary, #8B5CF6);
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.12), inset 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.pioneers-option.selected::before {
    opacity: 1;
}

.pioneers-option-letter {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    border: 1px solid #e2e8f0;
}

.pioneers-option:hover .pioneers-option-letter {
    background: #ede9fe;
    color: #7C3AED;
    border-color: #c4b5fd;
}

.pioneers-option.selected .pioneers-option-letter {
    background: var(--form-primary, #8B5CF6);
    color: #ffffff;
    border-color: var(--form-primary, #8B5CF6);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.pioneers-option-input {
    display: none;
}

.pioneers-option-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.pioneers-option-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    white-space: pre-line;
}

.pioneers-option.selected .pioneers-option-label {
    color: #4C1D95;
}

.pioneers-option-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
}

.pioneers-option-check .material-symbols-outlined {
    font-size: 18px;
    color: var(--form-primary, #8B5CF6);
    font-weight: 700;
}

.pioneers-option.selected .pioneers-option-check {
    opacity: 1;
    transform: scale(1);
    background: rgba(139, 92, 246, 0.12);
}

/* ---- Text Input ---- */
.pioneers-text-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.pioneers-text-input:hover {
    border-color: #c4b5fd;
}

.pioneers-text-input:focus {
    outline: none;
    border-color: var(--form-primary, #8B5CF6);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1), 0 8px 24px rgba(139, 92, 246, 0.06);
}

.pioneers-text-input::placeholder {
    color: #94a3b8;
}

/* Textarea wrap */
.pioneers-textarea-wrap {
    position: relative;
}

.pioneers-textarea-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #cbd5e1;
    pointer-events: none;
    transition: color 0.2s ease;
}

.pioneers-rtl .pioneers-textarea-icon {
    right: auto;
    left: 14px;
}

.pioneers-textarea-wrap .pioneers-text-input:focus ~ .pioneers-textarea-icon {
    color: var(--form-primary, #8B5CF6);
}

.pioneers-textarea-icon .material-symbols-outlined {
    font-size: 22px;
}

/* Date wrap */
.pioneers-date-wrap {
    position: relative;
    display: inline-flex;
    width: 100%;
    max-width: 320px;
}

.pioneers-date-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8B5CF6;
    font-size: 22px;
    pointer-events: none;
}

.pioneers-rtl .pioneers-date-icon {
    left: auto;
    right: 16px;
}

.pioneers-date-input {
    padding-left: 48px !important;
}

.pioneers-rtl .pioneers-date-input {
    padding-left: 18px !important;
    padding-right: 48px !important;
}

/* Select/Dropdown wrap */
.pioneers-select-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.pioneers-select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--form-primary, #8B5CF6);
    font-size: 22px;
    pointer-events: none;
}

.pioneers-rtl .pioneers-select-icon {
    right: auto;
    left: 16px;
}

.pioneers-select-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 48px !important;
    cursor: pointer;
}

.pioneers-rtl .pioneers-select-input {
    padding-right: 18px !important;
    padding-left: 48px !important;
}

/* ---- Rating Scale ---- */
.pioneers-rating-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pioneers-rating-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pioneers-rating-scale {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pioneers-rating-option {
    flex: 1;
    max-width: 80px;
    padding: 14px 8px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pioneers-rating-num {
    font-size: 18px;
    font-weight: 700;
    color: #334155;
}

.pioneers-rating-star {
    font-size: 18px;
    color: #e2e8f0;
    transition: color 0.2s ease;
}

.pioneers-rating-option:hover {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.12);
}

.pioneers-rating-option:hover .pioneers-rating-star {
    color: #fbbf24;
}

.pioneers-rating-option.selected {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

.pioneers-rating-option.selected .pioneers-rating-num {
    color: #92400e;
}

.pioneers-rating-option.selected .pioneers-rating-star {
    color: #f59e0b;
}

/* ---- NPS Scale ---- */
.pioneers-nps-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pioneers-nps-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    padding: 0 4px;
}

.pioneers-nps-scale {
    display: flex;
    gap: 6px;
}

.pioneers-nps-option {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    background: rgba(255, 255, 255, 0.6);
}

.pioneers-nps-option:hover {
    border-color: var(--form-primary, #8B5CF6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.pioneers-nps-option.selected {
    background: var(--form-primary, #8B5CF6);
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

/* ---- Question Footer / Navigation ---- */
.pioneers-question-footer {
    background: linear-gradient(180deg, rgba(248,250,252,0.8) 0%, rgba(241,245,249,0.9) 100%);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pioneers-prev-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    color: #64748b;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pioneers-prev-btn:hover {
    color: #7C3AED;
    background: #ffffff;
    border-color: #c4b5fd;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.08);
}

.pioneers-question-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.pioneers-next-btn,
.pioneers-complete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    background: var(--form-primary, #8B5CF6);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.pioneers-next-btn::after,
.pioneers-complete-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.pioneers-next-btn:hover,
.pioneers-complete-btn:hover {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.pioneers-next-btn:hover::after,
.pioneers-complete-btn:hover::after {
    opacity: 1;
}

.pioneers-next-btn:active,
.pioneers-complete-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

.pioneers-complete-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.pioneers-complete-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.pioneers-next-btn .material-symbols-outlined,
.pioneers-complete-btn .material-symbols-outlined,
.pioneers-prev-btn .material-symbols-outlined {
    font-size: 18px;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .pioneers-question-actions {
        width: auto;
    }

    .pioneers-next-btn,
    .pioneers-complete-btn {
        width: auto;
    }
}

@media (max-width: 767px) {
    .pioneers-question-body {
        padding: 28px 20px 20px;
    }

    .pioneers-question-text {
        font-size: 18px;
    }

    .pioneers-progress-block {
        padding: 14px 16px 12px;
        border-radius: 12px;
    }

    .pioneers-progress-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .pioneers-assessment-card {
        border-radius: 18px;
    }

    .pioneers-option {
        padding: 14px 16px;
        border-radius: 12px;
        gap: 12px;
    }

    .pioneers-option-letter {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 13px;
    }

    .pioneers-nps-option {
        height: 38px;
        font-size: 12px;
        border-radius: 10px;
    }

    .pioneers-question-footer {
        padding: 14px 16px;
    }
}

/* Submit button */
.pioneers-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--form-primary, #895af6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pioneers-submit-btn:hover {
    background: #7c4ddb;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(137, 90, 246, 0.25);
}

.pioneers-submit-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success message */
.pioneers-success-message {
    text-align: center;
    padding: 48px 24px;
}

.pioneers-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.pioneers-success-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

/* RTL support */
.pioneers-rtl .pioneers-assessment-form {
    direction: rtl;
    text-align: right;
}

.pioneers-rtl .pioneers-question-text .required {
    margin-left: 0;
    margin-right: 4px;
}

/* RTL: Option letter on right side */
.pioneers-rtl .pioneers-option {
    direction: rtl;
}

.pioneers-rtl .pioneers-option-content {
    text-align: right;
}

.pioneers-rtl .pioneers-option-label {
    direction: rtl;
    unicode-bidi: plaintext;
}

.pioneers-rtl .pioneers-option-letter {
    direction: rtl;
    unicode-bidi: plaintext;
}

/* RTL: Progress right alignment */
.pioneers-rtl .pioneers-progress-right {
    text-align: left;
    align-items: flex-start;
}

/* Hidden utility */
.pioneers-question-card.hidden {
    display: none;
}

/* Disabled button */
.pioneers-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Spinner */
.pioneers-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: pioneers-spin 0.6s linear infinite;
}

@keyframes pioneers-spin {
    to { transform: rotate(360deg); }
}

/* ============================================ */
/* Landing Page — Navigation */
/* ============================================ */

.pioneers-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pioneers-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 16px;
}

.pioneers-nav-brand {
    display: flex;
    align-items: baseline;
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: #4C1D95;
    flex-shrink: 0;
}

.pioneers-brand-link {
    display: flex;
    align-items: baseline;
    text-decoration: none;
    color: inherit;
}

.pioneers-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--form-primary, #8B5CF6);
    display: inline-block;
    margin-right: 2px;
    margin-bottom: 2px;
    vertical-align: middle;
}

.pioneers-rtl .pioneers-brand-dot {
    margin-right: 0;
    margin-left: 2px;
}

.pioneers-brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.pioneers-brand-primary {
    color: #4C1D95;
    margin-right: 1px;
}

.pioneers-rtl .pioneers-brand-primary {
    margin-right: 0;
    margin-left: 1px;
}

.pioneers-brand-sup {
    font-size: 10px;
    color: #8B5CF6;
    font-weight: 600;
}

.pioneers-nav-links {
    display: none;
    gap: 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pioneers-nav-links a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.pioneers-nav-links a:hover {
    color: var(--form-primary, #8B5CF6);
}

.pioneers-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pioneers-lang-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    background: none;
    border: 1px solid #d1d5db;
    color: #374151;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.pioneers-lang-btn:hover {
    border-color: var(--form-primary, #8B5CF6);
    color: var(--form-primary, #8B5CF6);
}

.pioneers-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--form-primary, #8B5CF6);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    white-space: nowrap;
}

.pioneers-nav-cta:hover {
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.pioneers-nav-cta .material-symbols-outlined {
    font-size: 16px;
}

.pioneers-nav-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}

.pioneers-nav-call:hover {
    color: #22c55e;
}

.pioneers-nav-call-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pioneers-nav-call-icon svg {
    width: 18px;
    height: 18px;
}

.pioneers-nav-call-text {
    display: none;
}

/* ============================================ */
/* Landing Page — Hero Section */
/* ============================================ */

.pioneers-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F3F4F6 0%, #EDE9FE 100%);
    min-height: 260px;
    display: flex;
    align-items: center;
    padding: 28px 0;
}

.pioneers-hero-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.pioneers-hero-blur-1 {
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: rgba(139, 92, 246, 0.2);
}

.pioneers-hero-blur-2 {
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: rgba(14, 165, 233, 0.2);
}

.pioneers-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.pioneers-hero-text {
    /* Left side */
}

.pioneers-hero-logo {
    margin-bottom: 12px;
}

.pioneers-hero-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Language switcher (floats inside the hero when nav is removed) */
.pioneers-lang-switcher {
    position: absolute;
    top: 16px;
    right: 24px;
    z-index: 20;
}

.pioneers-rtl .pioneers-lang-switcher {
    right: auto;
    left: 24px;
}

.pioneers-hero-title {
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 10px 0;
}

.pioneers-hero-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 18px 0;
    max-width: 520px;
    white-space: pre-line;
}

.pioneers-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.pioneers-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.pioneers-hero-btn-primary {
    background: var(--form-primary, #8B5CF6);
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.pioneers-hero-btn-primary:hover {
    background: #4C1D95;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}

.pioneers-hero-btn .material-symbols-outlined {
    font-size: 20px;
}

/* Hero — Decorative Illustration Card */
.pioneers-hero-illustration {
    display: none; /* hidden on mobile by default */
    align-items: center;
    justify-content: center;
}

.pioneers-hero-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.pioneers-hero-card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8B5CF6, #0EA5E9);
    border-radius: 16px;
    transform: rotate(3deg);
    opacity: 0.25;
    filter: blur(16px);
}

.pioneers-hero-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.pioneers-hero-logo-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    backdrop-filter: none;
}

.pioneers-hero-logo-card-img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    object-fit: contain;
}

.pioneers-hero-card-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pioneers-hero-mini-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    width: 80%;
    margin: 0 auto;
}

.pioneers-hero-mini-card:nth-child(2) {
    margin-left: auto;
    margin-right: 0;
}

.pioneers-rtl .pioneers-hero-mini-card:nth-child(2) {
    margin-right: auto;
    margin-left: 0;
}

.pioneers-hero-mini-card > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pioneers-hero-mini-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pioneers-hero-mini-icon .material-symbols-outlined {
    font-size: 16px;
}

.pioneers-hero-mini-info {
    display: flex;
    flex-direction: column;
}

.pioneers-hero-mini-label {
    font-size: 12px;
    color: #6b7280;
}

.pioneers-hero-mini-status {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.pioneers-hero-mini-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
}

.pioneers-hero-mini-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease;
}

/* ============================================ */
/* Landing Page — Main Content Grid */
/* ============================================ */

.pioneers-landing-main {
    padding: 48px 0;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.pioneers-landing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
}

/* ---- Pillars Column ---- */

.pioneers-pillars-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    padding: 28px 32px;
}

.pioneers-pillars-header {
    margin-bottom: 24px;
}

.pioneers-pillars-header h2 {
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.pioneers-pillars-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.pioneers-pillars-subtitle {
    font-size: 13px;
    color: #0f172a;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.pioneers-pillars-list {
    /* wrapper */
}

.pioneers-pillar-select-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px;
    font-weight: 500;
    color: #111827;
    font-size: 15px;
}

.pioneers-pillars-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
}

.pioneers-pillar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.15s;
}

.pioneers-pillar-item:hover {
    background: #f9fafb;
}

.pioneers-pillar-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pioneers-pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pioneers-pillar-icon .material-symbols-outlined {
    font-size: 22px;
}

.pioneers-pillar-info h3 {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

.pioneers-pillar-info p {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0;
}

.pioneers-pillar-desc {
    white-space: pre-line;
}

/* Toggle Switch */
.pioneers-toggle {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    flex-shrink: 0;
}

.pioneers-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pioneers-toggle-slider {
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 24px;
    position: relative;
    transition: background 0.25s;
}

.pioneers-toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    transition: transform 0.25s;
}

.pioneers-toggle input:checked + .pioneers-toggle-slider {
    background: var(--form-primary, #8B5CF6);
}

.pioneers-toggle input:checked + .pioneers-toggle-slider::after {
    transform: translateX(20px);
    border-color: transparent;
}

.pioneers-toggle input:focus-visible + .pioneers-toggle-slider {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* RTL toggle fix */
.pioneers-rtl .pioneers-toggle-slider::after {
    left: auto;
    right: 2px;
}

.pioneers-rtl .pioneers-toggle input:checked + .pioneers-toggle-slider::after {
    transform: translateX(-20px);
}

/* Begin Assessment CTA */
.pioneers-pillars-cta {
    padding-top: 28px;
}

.pioneers-begin-btn {
    width: 100%;
    padding: 16px;
    background: var(--form-primary, #8B5CF6);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
    font-family: inherit;
}

.pioneers-begin-btn:hover {
    background: #4C1D95;
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.3);
}

.pioneers-begin-btn:active {
    transform: scale(0.99);
}

.pioneers-pillars-time {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin: 14px 0 0;
}

/* ---- Levels Column (Horizontal chips) ---- */

.pioneers-levels-column {
    display: flex;
    flex-direction: column;
}

.pioneers-levels-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    padding: 24px 32px;
    box-sizing: border-box;
}

.pioneers-levels-title {
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
}

/* Horizontal row of chips — wraps on small screens */
.pioneers-levels-timeline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

/* Each chip */
.pioneers-level-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px 14px 14px;
    box-sizing: border-box;
    /* colored top border set inline per level */
}

.pioneers-level-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pioneers-level-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pioneers-level-content h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.pioneers-level-range {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.pioneers-level-description {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ============================================ */
/* Landing Page — Footer */
/* ============================================ */

.pioneers-footer {
    margin-top: 0;
}

/* Footer Top Info Bar */
.pioneers-footer-topbar {
    background: linear-gradient(135deg, #1e0f3c 0%, #2d1b69 100%);
    padding: 28px 0;
    border-radius: 24px 24px 0 0;
    position: relative;
    top: 24px;
    margin: 0 24px;
}

.pioneers-footer-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.pioneers-footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.pioneers-footer-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.pioneers-footer-info-icon .material-symbols-outlined {
    font-size: 20px;
}

.pioneers-footer-info-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.pioneers-footer-info-text {
    display: block;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    line-height: 1.4;
}

.pioneers-footer-info-text:hover {
    color: #c4b5fd;
}

/* Footer Main Section */
.pioneers-footer-main {
    background: #0f0524;
    padding: 56px 0 32px;
}

.pioneers-footer-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.pioneers-footer-col-brand {
    max-width: 380px;
}

.pioneers-footer-brand-logo {
    margin-bottom: 16px;
}

.pioneers-footer-brand-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin: 0 0 20px;
}

.pioneers-footer-reserve-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.pioneers-footer-reserve-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.pioneers-footer-socials {
    display: flex;
    gap: 10px;
}

.pioneers-footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
}

.pioneers-footer-socials a:hover {
    background: rgba(139,92,246,0.3);
    border-color: #8B5CF6;
    color: #fff;
}

.pioneers-footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    position: relative;
    padding-bottom: 10px;
}

.pioneers-footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--form-primary, #8B5CF6);
}

.pioneers-rtl .pioneers-footer-col-title::after {
    left: auto;
    right: 0;
}

.pioneers-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pioneers-footer-links li {
    margin-bottom: 10px;
}

.pioneers-footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.pioneers-footer-links a:hover {
    color: #c4b5fd;
}

/* Footer Copyright */
.pioneers-footer-copy {
    background: #0a0318;
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.pioneers-footer-copy p {
    margin: 0;
}

/* ============================================ */
/* Results Page Styles */
/* ============================================ */

/* Results Layout */
.pioneers-results-main {
    min-height: calc(100vh - 120px);
    padding: 48px 16px 64px;
}

.pioneers-results-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pioneers-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
}

.pioneers-results-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pioneers-results-heading {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pioneers-results-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--form-primary, #8B5CF6);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pioneers-results-title {
    font-family: 'Poppins', 'Manrope', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    color: #0f172a;
}

.pioneers-results-title-accent {
    display: block;
    color: var(--form-primary, #8B5CF6);
}

/* Consultation button */
.pioneers-consult-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 11px 24px;
    background: var(--form-primary, #8B5CF6);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
    white-space: nowrap;
}
.pioneers-consult-btn:hover,
.pioneers-consult-btn:focus {
    background: var(--form-primary, #8B5CF6);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.pioneers-consult-btn svg {
    flex-shrink: 0;
}

/* Benchmark comparison bars */
.pioneers-benchmark-wrap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pioneers-benchmark-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pioneers-benchmark-label {
    width: 130px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}
.pioneers-benchmark-bar-track {
    flex: 1;
    height: 22px;
    background: #f1f5f9;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}
.pioneers-benchmark-bar-fill {
    height: 100%;
    border-radius: 50px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-inline-end: 8px;
    transition: width 0.8s cubic-bezier(.4,0,.2,1);
}
.pioneers-benchmark-bar-user {
    background: var(--form-primary, #8B5CF6);
}
.pioneers-benchmark-bar-avg {
    background: #94a3b8;
}
.pioneers-benchmark-bar-val {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.pioneers-results-subtitle {
    color: #64748b;
    font-size: 16px;
    max-width: 520px;
}

.pioneers-results-scorecard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.pioneers-results-scorecard-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pioneers-results-scorecard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.pioneers-results-scorelabel {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.pioneers-results-scoreline {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pioneers-results-scorevalue {
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
}

.pioneers-results-scoretotal {
    font-size: 20px;
    font-weight: 700;
    color: #cbd5f5;
}

.pioneers-results-levelbadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid #e0e7ff;
    background: rgba(139, 92, 246, 0.12);
    color: var(--form-primary, #8B5CF6);
}

.pioneers-results-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pioneers-results-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.pioneers-results-progress-percent {
    color: var(--form-primary, #8B5CF6);
}

.pioneers-results-progress-bar {
    width: 100%;
    height: 12px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.pioneers-results-progress-fill {
    height: 100%;
    background: var(--form-primary, #8B5CF6);
    border-radius: inherit;
    transition: width 0.6s ease;
}

.pioneers-results-progress-note {
    font-size: 13px;
    color: #94a3b8;
}

.pioneers-results-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
}

.pioneers-results-disclaimer-icon {
    font-size: 18px;
    color: var(--form-primary, #8B5CF6);
    flex-shrink: 0;
    margin-top: 1px;
}

.pioneers-results-disclaimer p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ---- Section selection error ---- */
.pioneers-section-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: 10px 14px;
    color: #dc2626;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 12px;
}

.pioneers-section-error .material-symbols-outlined {
    font-size: 18px;
    flex-shrink: 0;
}

/* ---- Maintenance / empty questionnaire message ---- */
.pioneers-maintenance-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 40px 20px;
}

.pioneers-maintenance-box {
    text-align: center;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 48px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.pioneers-maintenance-icon {
    font-size: 52px;
    color: #94a3b8;
    display: block;
    margin-bottom: 16px;
}

.pioneers-maintenance-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.pioneers-maintenance-msg {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.pioneers-results-formcard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
    position: relative;
}

.pioneers-results-formcard::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(14, 165, 233, 0.03) 55%, transparent 100%);
}

.pioneers-results-formheader {
    position: relative;
    padding: 24px;
    background: var(--form-primary, #8B5CF6);
}

.pioneers-results-formheader-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.5) 1px, transparent 0);
    background-size: 24px 24px;
}

.pioneers-results-formheader-content {
    position: relative;
    z-index: 1;
}


.pioneers-results-formheader h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.pioneers-results-formbody {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.pioneers-results-formdesc {
    color: #64748b;
    margin: 0 0 24px 0;
}

.pioneers-results-formgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .pioneers-results-formgrid {
        grid-template-columns: 1fr 1fr;
    }

    .pioneers-form-consent {
        grid-column: 1 / -1;
    }
}

.pioneers-results-formcard .pioneers-text-input {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #f8fafc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.pioneers-results-formcard .pioneers-text-input:focus {
    border-color: var(--form-primary, #8B5CF6);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.pioneers-form-consent label {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    align-items: flex-start;
}

.pioneers-form-consent input {
    margin-top: 3px;
    accent-color: var(--form-primary, #8B5CF6);
}

.pioneers-pdpl-notice {
    margin-top: 4px;
    margin-bottom: 4px;
    width: 100%;
    grid-column: 1 / -1;
}

.pioneers-pdpl-notice-box {
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 12px 14px;
}

.pioneers-pdpl-title {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.pioneers-pdpl-title .material-symbols-outlined {
    font-size: 18px;
    color: #6366f1;
}

.pioneers-pdpl-list {
    margin: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 12px;
    line-height: 1.65;
}

.pioneers-rtl .pioneers-pdpl-list {
    padding-left: 0;
    padding-right: 18px;
}

.pioneers-pdpl-consent-row {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    font-size: 12px;
    color: #475569;
    font-weight: 400;
    line-height: 1.65;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 10px;
    padding: 10px 12px;
}

.pioneers-pdpl-consent-row input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--form-primary, #8B5CF6);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pioneers-results-submit-btn {
    width: 100%;
    margin-top: 16px;
    background: var(--form-primary, #8B5CF6);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 16px 28px rgba(139, 92, 246, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    letter-spacing: 0.2px;
}

.pioneers-results-submit-btn:hover {
    background: #7C3AED;
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(139, 92, 246, 0.3);
}

.pioneers-results-formnote {
    font-size: 12px;
    color: #94a3b8;
    margin: 12px 0 0;
    text-align: center;
}

.pioneers-form-group {
    margin-bottom: 16px;
}

.pioneers-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
}

.pioneers-form-group .required {
    color: #ef4444;
}

.pioneers-contact-form .pioneers-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* Thank You Section */
.pioneers-results-thankyou {
    text-align: center;
    padding: 48px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.pioneers-results-thankyou .pioneers-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
}

.pioneers-results-thankyou .pioneers-success-icon svg {
    color: white;
}

.pioneers-results-thankyou h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.pioneers-results-thankyou p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

@media (min-width: 1024px) {
    .pioneers-results-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .pioneers-results-left {
        grid-column: span 5;
    }

    .pioneers-results-right {
        grid-column: span 7;
        display: flex;
        flex-direction: column;
    }

    .pioneers-results-right > * {
        flex: 1;
    }
}

/* Simple Success (when results page disabled) */
.pioneers-simple-success {
    text-align: center;
    padding: 48px 24px;
}

.pioneers-simple-success .pioneers-success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.pioneers-simple-success .pioneers-success-icon svg {
    color: white;
}

.pioneers-simple-success h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.pioneers-simple-success p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

/* ============================================ */
/* RTL Overrides */
/* ============================================ */

.pioneers-rtl {
    direction: rtl;
    text-align: right;
}

.pioneers-rtl .pioneers-question-text .required {
    margin-left: 0;
    margin-right: 4px;
}

.pioneers-rtl .pioneers-results-contact {
    text-align: right;
}

/* RTL: flip prev/next button icons handled via PHP already */

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

/* ==========================
   Full-page embed overrides
   Hide theme header/footer for a clean landing page
   ========================== */
body.pioneers-assessment-embed #wpadminbar,
body.pioneers-assessment-embed .site-header,
body.pioneers-assessment-embed header,
body.pioneers-assessment-embed #masthead,
body.pioneers-assessment-embed .site-branding,
body.pioneers-assessment-embed .site-title,
body.pioneers-assessment-embed .site-footer,
body.pioneers-assessment-embed footer,
body.pioneers-assessment-embed #colophon,
body.pioneers-assessment-embed .entry-header,
body.pioneers-assessment-embed .page-header {
    display: none !important;
}

body.pioneers-assessment-embed #content,
body.pioneers-assessment-embed .site-content,
body.pioneers-assessment-embed .content-area,
body.pioneers-assessment-embed .wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.pioneers-assessment-embed .pioneers-assessment-form {
    margin: 40px auto !important;
    max-width: 1200px !important;
    padding: 0 24px !important;
}

/* Ensure overflow doesn't reveal theme sidebars */
body.pioneers-assessment-embed, body.pioneers-assessment-embed html {
    overflow-x: hidden;
}
/* ============================================ */

/* Large screens — landing grid stays single column (levels on top, pillars below) */
@media (min-width: 1024px) {
    .pioneers-landing-grid {
        grid-template-columns: 1fr;
    }

    .pioneers-nav-links {
        display: flex;
    }

    .pioneers-hero-illustration {
        display: flex;
    }

    .pioneers-hero-title {
        font-size: 32px;
    }

    .pioneers-nav-call-text {
        display: inline;
    }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1023px) {
    .pioneers-hero-content {
        grid-template-columns: 1fr;
    }

    .pioneers-hero-illustration {
        display: none;
    }

    .pioneers-landing-grid {
        grid-template-columns: 1fr;
    }

    .pioneers-footer-main-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .pioneers-footer-col-brand {
        grid-column: span 2;
        max-width: none;
    }

    .pioneers-footer-topbar {
        margin: 0 16px;
    }
}

/* Small screens */
@media (max-width: 767px) {
    .pioneers-assessment-form {
        padding: 0;
    }

    .pioneers-hero-content {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .pioneers-hero-illustration {
        display: none;
    }

    .pioneers-hero-title {
        font-size: 30px;
    }

    .pioneers-hero-desc {
        font-size: 15px;
    }

    .pioneers-hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .pioneers-hero {
        padding: 20px 0;
        min-height: auto;
    }

    .pioneers-landing-main {
        padding: 24px 16px;
    }

    .pioneers-pillars-card {
        padding: 20px;
        border-radius: 12px;
    }

    .pioneers-levels-card {
        padding: 20px;
        border-radius: 12px;
    }

    .pioneers-nav-inner {
        padding: 0 16px;
        height: 60px;
    }

    .pioneers-nav-cta {
        padding: 8px 14px;
        font-size: 12px;
    }

    .pioneers-rating-scale {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pioneers-rating-option {
        flex: 0 0 calc(20% - 6.4px);
        padding: 10px 6px;
    }

    .pioneers-rating-num {
        font-size: 16px;
    }

    .pioneers-rating-star {
        font-size: 16px;
    }

    .pioneers-nps-scale {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .pioneers-nps-option {
        flex: 0 0 calc(16.66% - 4px);
    }

    .pioneers-score-circle {
        width: 140px;
        height: 140px;
    }

    .pioneers-score-inner {
        width: 115px;
        height: 115px;
    }

    .pioneers-score-value {
        font-size: 32px;
    }

    .pioneers-level-card {
        padding: 16px 20px;
    }

    .pioneers-footer-topbar {
        margin: 0;
        border-radius: 0;
        top: 0;
        padding: 20px 0;
    }

    .pioneers-footer-topbar-inner {
        flex-direction: column;
        gap: 16px;
        padding: 0 16px;
    }

    .pioneers-footer-info-item {
        min-width: auto;
    }

    .pioneers-footer-main-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 16px;
    }

    .pioneers-footer-col-brand {
        max-width: none;
    }

    .pioneers-footer-main {
        padding: 32px 0 24px;
    }

    .pioneers-footer-reserve-btn {
        font-size: 12px;
        padding: 7px 16px;
    }

    /* Hide floating bg orbs on mobile for performance */
    .pioneers-assess-bg-orb {
        display: none;
    }

    .pioneers-assessment-main {
        padding: 20px 12px 40px;
    }

    .pioneers-assessment-container {
        max-width: 100%;
    }
}
