/* ========================================
   NEVENGI ONBOARDING FLOW
   Full-screen modal with animated steps
   ======================================== */

/* ---- Overlay ---- */
.ob-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ob-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Container ---- */
.ob-container {
    width: 100%;
    max-width: 560px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.ob-container::-webkit-scrollbar {
    display: none;
}

/* ---- Progress bar ---- */
.ob-progress {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 99px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.ob-progress-fill {
    height: 100%;
    background: #10b981;
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* ---- Step wrapper ---- */
.ob-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    animation: obSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ob-step.is-active {
    display: flex;
}

@keyframes obSlideIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes obSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.97);
    }
}

.ob-step.is-leaving {
    display: flex;
    animation: obSlideOut 0.3s cubic-bezier(0.4, 0, 1, 1) both;
}

/* ---- Sticker ---- */
.ob-sticker {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 24px;
    animation: obStickerBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

@keyframes obStickerBounce {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-12deg);
    }
    50% {
        transform: scale(1.1) rotate(3deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* ---- Step Number Badge ---- */
.ob-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 16px;
}

/* ---- Heading ---- */
.ob-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    font-family: var(--font-serif);
}

.ob-subheading {
    font-size: 15px;
    color: var(--text-3);
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 420px;
}

/* ---- Option Cards (for multiple choice) ---- */
.ob-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 28px;
}

.ob-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid var(--border-2);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: var(--shadow-sm);
}

.ob-option:hover {
    border-color: var(--text-4);
    background: var(--bg-card-alt);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.ob-option.is-selected {
    border-color: var(--green);
    background: var(--green-bg);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.12), inset 0 0 0 1px rgba(16, 185, 129, 0.15);
}

.ob-option.is-selected .ob-option-radio {
    border-color: var(--green);
    background: var(--green);
}

.ob-option.is-selected .ob-option-radio::after {
    opacity: 1;
    transform: scale(1);
}

.ob-option-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-2);
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-option-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ob-option-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ob-option-emoji {
    font-size: 22px;
    flex-shrink: 0;
}

/* Flag emojis for country selection */
.ob-flag-emoji {
    font-size: 36px;
}

.ob-country-options {
    gap: 16px;
}

.ob-country-option {
    padding: 20px 24px;
}

.ob-country-option .ob-option-content {
    margin-left: 4px;
}

.ob-option-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.3;
}

.ob-option-desc {
    font-size: 12.5px;
    color: var(--text-3);
    margin-top: 2px;
}

/* ---- Salary Range Slider ---- */
.ob-salary-section {
    width: 100%;
    max-width: 420px;
    margin-bottom: 28px;
}

.ob-salary-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.ob-salary-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: all 0.15s ease;
}

.ob-salary-currency {
    font-size: 16px;
    color: var(--text-3);
    font-weight: 500;
}

.ob-salary-range-label {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 4px;
}

.ob-slider-container {
    width: 100%;
    padding: 0 8px;
    margin-bottom: 20px;
}

.ob-slider-wrapper {
    position: relative;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
}

.ob-slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.ob-slider-fill {
    height: 100%;
    background: #10b981;
    border-radius: 99px;
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.ob-slider-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 48px;
    background: transparent;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin: 0;
}

.ob-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--green);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4), 0 0 0 4px rgba(16, 185, 129, 0.1);
    cursor: grab;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ob-slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 16px rgba(16, 185, 129, 0.5), 0 0 0 8px rgba(16, 185, 129, 0.12);
}

.ob-slider-input::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.ob-slider-input::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: var(--green);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
    cursor: grab;
}

.ob-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-4);
    margin-top: -4px;
}

/* Salary range dual display */
.ob-salary-range-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ob-salary-range-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 24px;
    background: #ffffff;
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    min-width: 130px;
    box-shadow: var(--shadow-sm);
}

.ob-salary-range-box.is-active {
    border-color: var(--green);
    background: var(--green-bg);
}

.ob-salary-range-box-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.ob-salary-range-box-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
}

.ob-salary-dash {
    font-size: 20px;
    color: var(--text-4);
}

/* ---- Dream Job Text Area ---- */
.ob-textarea-wrap {
    width: 100%;
    max-width: 420px;
    margin-bottom: 28px;
}

.ob-textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid var(--border-2);
    border-radius: var(--r-md);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.ob-textarea::placeholder {
    color: var(--text-4);
}

.ob-textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Dream job timeframe pills */
.ob-timeframe-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.ob-pill {
    padding: 8px 18px;
    border-radius: 99px;
    border: 1.5px solid var(--border-2);
    background: #ffffff;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: var(--shadow-xs);
}

.ob-pill:hover {
    border-color: var(--text-4);
    background: var(--bg-card-alt);
}

.ob-pill.is-selected {
    border-color: var(--green);
    background: var(--green-bg);
    color: var(--green);
}

/* ---- Email Input ---- */
.ob-email-wrap {
    width: 100%;
    max-width: 420px;
    margin-bottom: 28px;
}

.ob-email-input {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid var(--border-2);
    border-radius: var(--r-md);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.ob-email-input::placeholder {
    color: var(--text-4);
}

.ob-email-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ---- CV Analysis Results ---- */
.ob-analysis {
    width: 100%;
    max-width: 460px;
    margin-bottom: 28px;
}

.ob-score-ring-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.ob-score-ring {
    position: relative;
    width: 140px;
    height: 140px;
}

.ob-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ob-score-ring-bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.06);
    stroke-width: 8;
}

.ob-score-ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 408;
    stroke-dashoffset: 408;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.5s ease;
}

.ob-score-ring-value {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ob-score-number {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--text-1);
}

.ob-score-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* Section scores */
.ob-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.ob-section-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-1);
    animation: obSectionFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    box-shadow: var(--shadow-sm);
}

@keyframes obSectionFade {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ob-section-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ob-section-indicator.red {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.ob-section-indicator.yellow {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.ob-section-indicator.green {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.ob-section-name {
    flex: 1;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-2);
    text-align: left;
}

.ob-section-score {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 36px;
    text-align: right;
}

.ob-section-score.red { color: #ef4444; }
.ob-section-score.yellow { color: #f59e0b; }
.ob-section-score.green { color: #10b981; }

.ob-section-bar-wrap {
    width: 60px;
    height: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 99px;
    overflow: hidden;
}

.ob-section-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ob-section-bar.red { background: #ef4444; }
.ob-section-bar.yellow { background: #f59e0b; }
.ob-section-bar.green { background: #10b981; }

/* Analysis summary */
.ob-analysis-summary {
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
    text-align: left;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.ob-analysis-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.ob-tag-strength {
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ob-tag-improve {
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ---- Buttons ---- */
.ob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--r-full);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-user-select: none;
}

.ob-btn-primary {
    background: #000000;
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.ob-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: #333333;
}

.ob-btn-primary:active {
    transform: translateY(0);
}

.ob-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ob-btn-secondary {
    background: #ffffff;
    color: var(--text-1);
    border: 1px solid var(--border-2);
    box-shadow: var(--shadow-xs);
}

.ob-btn-secondary:hover {
    border-color: var(--text-3);
    color: var(--text-1);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.ob-btn-tertiary {
    background: transparent;
    color: var(--text-3);
    border: none;
    padding: 14px 20px;
}

.ob-btn-tertiary:hover {
    color: var(--text-1);
}

/* Payment button with price */
.ob-btn-pay {
    flex-direction: column;
    gap: 4px;
    padding: 16px 40px;
    min-width: 280px;
}

.ob-btn-pay-text {
    font-size: 15px;
    font-weight: 600;
}

.ob-btn-pay-price {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ob-btn-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Loading spinner */
.ob-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(0, 0, 0, 0.1);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: obSpin 0.7s linear infinite;
}

@keyframes obSpin {
    to { transform: rotate(360deg); }
}

/* ---- Success / Waitlist Confirmed ---- */
.ob-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ob-confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10000;
}

.ob-success-check {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: obPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

@keyframes obPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.ob-success-check svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ob-waitlist-number {
    font-size: 13px;
    color: var(--text-3);
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid var(--border-2);
    margin-top: 12px;
}

/* ---- Loading overlay for analysis ---- */
.ob-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 420px;
    text-align: center;
}

.ob-loading-dots {
    display: flex;
    gap: 8px;
}

.ob-loading-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    animation: obDotPulse 1.4s ease-in-out infinite;
}

.ob-loading-dot:nth-child(2) { animation-delay: 0.2s; }
.ob-loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes obDotPulse {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

.ob-loading-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-1);
    transition: opacity 0.3s ease;
}

.ob-loading-fact {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.5;
    transition: opacity 0.3s ease;
    min-height: 42px; /* Prevent layout jump */
}

/* Strategic Insight Box */
.ob-strategic-insight {
    width: 100%;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--r-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.ob-si-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.ob-si-content {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}

.ob-si-content strong {
    color: var(--text-1);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

/* ---- Insight Box (below each question) ---- */
.ob-insight-box {
    width: 100%;
    max-width: 420px;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 16px 18px;
    background: #f9fafb;
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    text-align: left;
    animation: obInsightFade 0.6s ease 0.4s both;
}

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

.ob-insight-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ob-insight-icon {
    font-size: 18px;
    line-height: 1;
}

.ob-insight-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ob-insight-text {
    font-size: 13.5px;
    color: var(--text-3);
    line-height: 1.6;
    margin: 0;
}

.ob-insight-text strong {
    color: var(--green);
    font-weight: 600;
}

.ob-insight-text em {
    color: var(--text-2);
    font-style: normal;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .ob-container {
        padding: 24px 16px;
    }

    .ob-heading {
        font-size: 22px;
    }

    .ob-salary-value {
        font-size: 32px;
    }

    .ob-score-ring {
        width: 120px;
        height: 120px;
    }

    .ob-score-number {
        font-size: 36px;
    }

    .ob-sticker {
        width: 80px;
        height: 80px;
    }

    .ob-salary-range-box {
        min-width: 100px;
        padding: 10px 16px;
    }

    .ob-salary-range-box-value {
        font-size: 20px;
    }
    
    .ob-insight-box {
        margin-top: 24px;
        padding: 14px 16px;
    }
    
    .ob-insight-text {
        font-size: 13px;
    }
    
    .ob-strategic-insight {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .ob-si-content {
        font-size: 13px;
    }
}

/* ======================================================
   CV PREVIEW PAGE STYLES (Step 8.5)
====================================================== */

.ob-preview-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

/* CV Document Preview */
.ob-cv-preview {
    position: relative;
    width: 100%;
    max-height: 550px;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ob-cv-document {
    padding: 32px 28px;
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 12px;
    line-height: 1.5;
    color: #333;
    background: #fff;
}

.ob-cv-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1e374b;
}

.ob-cv-name {
    font-size: 20px;
    font-weight: bold;
    color: #1e374b;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ob-cv-contact {
    font-size: 10px;
    color: #666;
    margin: 0;
}

.ob-cv-section {
    margin-bottom: 16px;
}

.ob-cv-section-title {
    font-size: 11px;
    font-weight: bold;
    color: #1e374b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #ccc;
}

.ob-cv-text {
    margin: 0;
    text-align: justify;
    font-size: 11px;
}

.ob-cv-job {
    margin-bottom: 12px;
}

.ob-cv-job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.ob-cv-job-header strong {
    font-size: 11px;
    color: #1e374b;
}

.ob-cv-dates {
    font-size: 10px;
    color: #888;
}

.ob-cv-company {
    font-size: 10px;
    font-style: italic;
    color: #666;
    margin: 2px 0 4px 0;
}

.ob-cv-desc {
    font-size: 10px;
    margin: 0;
}

.ob-cv-skills {
    font-size: 11px;
    margin: 0;
}

/* Education styling */
.ob-cv-education {
    margin-bottom: 8px;
}

/* Blur overlay for bottom portion - showing ~50% of CV */
.ob-cv-blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 15%,
        rgba(255, 255, 255, 0.9) 40%,
        rgba(255, 255, 255, 1) 100%
    );
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ob-unlock-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(30, 55, 75, 0.9);
    border-radius: 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.ob-unlock-icon {
    font-size: 16px;
}

/* Improvements Panel */
.ob-improvements-panel {
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--r-lg);
}

.ob-panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Score Comparison */
.ob-score-comparison {
    margin-bottom: 20px;
}

.ob-overall-improvement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--r-md);
}

.ob-old-score {
    font-size: 32px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.ob-score-arrow {
    font-size: 20px;
    color: var(--text-3);
}

.ob-new-score {
    font-size: 32px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.ob-improvement-badge {
    padding: 6px 12px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 16px;
}

/* Section Improvements */
.ob-section-improvements {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ob-improvement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--r-sm);
}

.ob-improvement-name {
    font-size: 13px;
    color: var(--text-2);
    flex: 1;
}

.ob-improvement-scores {
    font-size: 13px;
    color: var(--text-3);
    margin-right: 12px;
}

.ob-improvement-pct {
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
    background: rgba(34, 197, 94, 0.15);
    padding: 4px 8px;
    border-radius: 10px;
}

/* New Keywords */
.ob-new-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ob-keyword-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #fbbf24;
}

.ob-keyword-more {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--text-3);
}

.ob-no-keywords {
    font-size: 13px;
    color: var(--text-3);
    font-style: italic;
}

/* Preview CTA Section */
.ob-preview-cta {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ob-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.ob-trust-badge {
    font-size: 12px;
    color: var(--text-3);
}

/* CTA Button Style */
.ob-btn-cta {
    width: 100%;
    max-width: 380px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.ob-btn-cta-text {
    display: block;
}

/* Pay Button adjustments */
.ob-btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
}

.ob-btn-pay-text {
    font-size: 15px;
}

.ob-btn-pay-price {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Preview Responsive */
@media (max-width: 600px) {
    .ob-preview-container {
        gap: 16px;
    }
    
    .ob-cv-preview {
        max-height: 350px;
    }
    
    .ob-cv-document {
        padding: 20px 16px;
    }
    
    .ob-cv-name {
        font-size: 16px;
    }
    
    .ob-improvements-panel {
        padding: 16px;
    }
    
    .ob-overall-improvement {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
    }
    
    .ob-old-score,
    .ob-new-score {
        font-size: 26px;
    }
    
    .ob-improvement-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .ob-improvement-scores {
        margin-right: 0;
    }
    
    .ob-trust-badges {
        gap: 12px;
    }
}
