/* =====================================================
   ONBOARDING
===================================================== */

.onboarding-page {
    min-height: calc(100vh - 145px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px 20px;

    background: #f8fafc;
}

.onboarding-card {
    width: min(700px, 100%);

    padding: 55px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    box-shadow:
        0 15px 45px rgba(15, 23, 42, 0.07);
}

.onboarding-progress {
    height: 5px;

    margin-bottom: 45px;

    overflow: hidden;

    border-radius: 5px;

    background: #e5e7eb;
}

.onboarding-progress-bar {
    height: 100%;

    border-radius: 5px;

    background: #6366f1;

    transition: width 0.3s ease;
}

.onboarding-label {
    display: inline-block;

    margin-bottom: 15px;

    color: #6366f1;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.onboarding-card h1 {
    margin: 0;

    font-size: clamp(30px, 5vw, 44px);

    line-height: 1.15;
}

.onboarding-description {
    margin: 15px 0 35px;

    color: #64748b;

    line-height: 1.7;
}

.option-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.option-card {
    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-height: 130px;

    padding: 25px;

    border: 1px solid #dbe1e8;

    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

    transition: 0.2s ease;
}

.option-card:hover {
    border-color: #6366f1;

    transform: translateY(-2px);
}

.option-card.selected {
    border-color: #6366f1;

    background: #eef2ff;

    box-shadow:
        0 0 0 2px
        rgba(99, 102, 241, 0.1);
}

.option-card input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.option-title {
    font-weight: 700;

    font-size: 17px;
}

.option-description {
    margin-top: 7px;

    color: #64748b;

    font-size: 13px;

    line-height: 1.5;
}

.onboarding-actions {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 45px;
}

.onboarding-back {
    min-height: 48px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    background: #ffffff;

    cursor: pointer;
}

.onboarding-continue {
    min-height: 48px;

    padding: 0 30px;

    border: 0;

    border-radius: 8px;

    background: #6366f1;

    color: #ffffff;

    font-weight: 700;

    cursor: pointer;
}

.onboarding-continue:disabled {
    opacity: 0.5;

    cursor: not-allowed;
}


/* =====================================================
   START PAGE
===================================================== */

.onboarding-start {
    min-height: calc(100vh - 145px);

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 60px 20px;

    background: #f8fafc;
}

.onboarding-start-inner {
    max-width: 700px;
}

.onboarding-start h1 {
    margin: 10px 0 20px;

    font-size: clamp(40px, 6vw, 60px);

    line-height: 1.1;
}

.onboarding-start p {
    color: #64748b;

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 35px;
}

.onboarding-button {
    min-height: 52px;

    padding: 0 35px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    background: #6366f1;

    color: #ffffff;

    font-weight: 700;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 650px) {

    .onboarding-card {
        padding: 30px 22px;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-actions {
        flex-direction: column-reverse;

        align-items: stretch;
    }

    .onboarding-back,
    .onboarding-continue {
        width: 100%;
    }

}


.builder-start {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: #f7f9fc;
}

.builder-start-inner {
    width: min(1180px, 92%);
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.builder-start-content h1 {
    font-size: 48px;
    line-height: 1.12;
    margin: 15px 0;
    color: #172033;
}

.builder-start-content > p {
    font-size: 18px;
    line-height: 1.7;
    color: #667085;
    max-width: 560px;
}

.builder-step-label {
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.builder-benefits {
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin: 18px 0;
}

.benefit-item > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8e7ff;
    color: #4f46e5;
    font-weight: 700;
}

.benefit-item strong,
.benefit-item small {
    display: block;
}

.benefit-item strong {
    color: #1f2937;
}

.benefit-item small {
    margin-top: 4px;
    color: #667085;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.builder-start-btn {
    min-width: 150px;
}

.back-home,
.onboarding-back {
    display: block;
    margin-top: 18px;
    color: #667085;
    text-decoration: none;
}

.builder-start-preview {
    display: flex;
    justify-content: center;
}

.preview-card {
    width: 410px;
    min-height: 530px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(16, 24, 40, .12);
    overflow: hidden;
    transform: rotate(2deg);
}

.preview-top {
    height: 85px;
    background: #252a3a;
}

.preview-body {
    display: grid;
    grid-template-columns: 105px 1fr;
    min-height: 445px;
}

.preview-sidebar {
    padding: 25px 15px;
    background: #eef0f5;
}

.preview-sidebar div {
    height: 9px;
    margin-bottom: 16px;
    background: #c7cbd5;
    border-radius: 5px;
}

.preview-main {
    padding: 30px 25px;
}

.preview-name {
    height: 15px;
    width: 55%;
    background: #333b50;
    border-radius: 4px;
    margin-bottom: 10px;
}

.preview-line {
    height: 5px;
    width: 80%;
    background: #d7dae1;
    margin-bottom: 30px;
}

.preview-section-title {
    width: 35%;
    height: 9px;
    background: #4f46e5;
    margin: 20px 0 12px;
    border-radius: 4px;
}

.preview-text {
    width: 90%;
    height: 6px;
    background: #e0e2e7;
    margin: 8px 0;
    border-radius: 4px;
}

.preview-text.short {
    width: 65%;
}

/* ONBOARDING */

.onboarding-page {
    min-height: calc(100vh - 80px);
    background: #f7f9fc;
    padding: 50px 20px;
}

.onboarding-container {
    width: min(900px, 100%);
    margin: auto;
}

.progress-bar {
    height: 6px;
    background: #e4e7ec;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 55px;
}

.progress-fill {
    height: 100%;
    background: #4f46e5;
    border-radius: inherit;
}

.onboarding-header {
    text-align: center;
    margin-bottom: 40px;
}

.step-number {
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
}

.onboarding-header h1 {
    color: #172033;
    font-size: 38px;
    margin: 10px 0;
}

.onboarding-header p {
    color: #667085;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.option-card {
    min-height: 190px;
    background: #fff;
    border: 2px solid #eaecf0;
    border-radius: 14px;
    padding: 25px;
    cursor: pointer;
    text-align: left;
    transition: .2s ease;
}

.option-card:hover {
    border-color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16,24,40,.08);
}

.option-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.option-card strong,
.option-card span {
    display: block;
}

.option-card strong {
    font-size: 18px;
    color: #172033;
}

.option-card span {
    color: #667085;
    margin-top: 8px;
    line-height: 1.5;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.industry-card {
    padding: 20px;
    background: #fff;
    border: 2px solid #eaecf0;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    transition: .2s ease;
}

.industry-card:hover {
    border-color: #4f46e5;
    transform: translateY(-2px);
}

@media (max-width: 850px) {

    .builder-start-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .builder-start-content h1 {
        font-size: 38px;
    }

    .builder-start-preview {
        order: -1;
    }

    .preview-card {
        width: 330px;
        min-height: 430px;
    }

    .option-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-header h1 {
        font-size: 30px;
    }
}

/* =========================================================
   SELECT CV
========================================================= */

.select-cv-container {
    max-width: 850px;
}

.build-method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 35px;
}

.build-method-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 170px;
    padding: 28px;
    text-align: left;
    background: #fff;
    border: 2px solid #eaecf0;
    border-radius: 16px;
    cursor: pointer;
    transition: .2s ease;
}

.build-method-card:hover {
    border-color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 24, 40, .09);
}

.build-method-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eef0ff;
    color: #4f46e5;
    font-size: 30px;
    font-weight: 400;
}

.build-method-icon.upload {
    font-size: 25px;
}

.build-method-content {
    padding-right: 25px;
}

.build-method-content strong {
    display: block;
    color: #172033;
    font-size: 18px;
    margin-bottom: 8px;
}

.build-method-content span {
    display: block;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.build-method-arrow {
    position: absolute;
    right: 22px;
    color: #98a2b3;
    font-size: 22px;
}

@media (max-width: 650px) {

    .build-method-grid {
        grid-template-columns: 1fr;
    }

    .build-method-card {
        min-height: 145px;
    }

}