.onboarding-card {
    max-width: 820px;
    margin: 30px auto;
    padding: 40px 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ===== HEADER ===== */
.onboarding-header {
    text-align: center;
    margin-bottom: 44px;
}

.onboarding-icon {
    font-size: 56px;
    margin-bottom: 12px;
}

.onboarding-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.onboarding-header .subtitle {
    font-size: 1.15rem;
    color: #64748b;
    margin: 0;
}

/* ===== STEPS ===== */
.onboarding-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
}

.onboarding-step:last-of-type {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef2ff;
    color: #5b7dbd;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
}

.step-content p {
    font-size: 0.95rem;
    color: #475569;
    margin: 0 0 12px;
    line-height: 1.7;
}

.step-example {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.example-label {
    font-weight: 600;
    color: #334155;
}

.example-text {
    color: #475569;
}

/* ===== GRAPH ===== */
.result-section {
    margin: 48px 0 32px;
    text-align: center;
}

.result-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.graph-container-wrap {
    padding: 16px;
    background: #f8fafc;
    border-radius: 16px;
}

.graph-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
    padding: 4px 0 8px;
    border-radius: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.graph-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.graph-container {
    margin: 0 auto;
    max-width: 650px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 12px;
    padding: 32px 12px 12px;
    background: #f8fafc;
    border-radius: 14px;
    height: 280px;
    width: 100%;
    box-sizing: border-box;
}

.graph-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
    height: 100%;
    justify-content: flex-end;
    position: relative;
}

.graph-bar {
    width: 100%;
    max-width: 56px;
    min-width: 28px;
    background: linear-gradient(180deg, #5b7dbd, #3b6fb0);
    border-radius: 6px 6px 4px 4px;
    min-height: 8px;
    position: relative;
    transition: height 0.8s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.bar-value {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    opacity: 0.95;
}

.graph-label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 10px;
    white-space: nowrap;
}

.graph-desc {
    font-size: 12px;
    color: #94a3b8;
    margin: 6px 0;
    text-align: center;
	line-height: 1.2;
}

.graph-desc span {
	display: inline-block;
	font-size: 1.1rem; 
	border-radius: 50%; 
	background-color: #eee;
	padding: 5px;
	margin: 5px 0;
}	

/* Подсветка */
.graph-bar-wrapper.highlight .graph-bar {
    background: linear-gradient(180deg, #f9bc23, #ff8844);
    box-shadow: 0 4px 20px rgba(255, 136, 68, 0.35);
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.graph-bar-wrapper.highlight .graph-label {
    color: #ff8844;
}

.graph-bar-wrapper.highlight .graph-desc {
    color: #ff8844;
    font-weight: 600;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 136, 68, 0.2);
    }
    50% {
        box-shadow: 0 4px 32px rgba(255, 136, 68, 0.5);
    }
}

.result-note {
    font-size: 0.95rem;
    color: #475569;
    margin-top: 18px;
    background: #f1f5f9;
    padding: 12px 20px;
    border-radius: 10px;
    display: inline-block;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: #f8fafc;
    padding: 28px 34px;
    border-radius: 16px;
    margin: 36px 0;
}

.why-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
}

.why-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.why-section li {
    font-size: 0.95rem;
    color: #334155;
    padding: 8px 0;
}

.why-section li strong {
    color: #1e293b;
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    margin-top: 36px;
}

.cta-section .btn-primary {
    display: inline-block;
    padding: 16px 56px;
    background: linear-gradient(135deg, #ff4e50, #f9bc23);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(249, 188, 35, 0.35);
}

.cta-sub {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 12px;
}

/* ===== FINAL STEP ===== */
.onboarding-step.final-step {
    background: linear-gradient(135deg, #fef9e7, #fdf2e9);
    border-radius: 14px;
    padding: 24px 28px;
    margin-top: 8px;
    border: 1px solid #fdebd0;
}

.onboarding-step.final-step .step-number {
    background: #fdebd0;
    color: #e67e22;
}

.step-example.highlight-example {
    background: #fef5e7;
    border: 1px solid #f9e4b7;
}

.step-example.highlight-example .example-label {
    color: #e67e22;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.98px) {
    .onboarding-card {
        padding: 28px 24px;
        margin: 20px 12px;
    }

    .onboarding-header h1 {
        font-size: 1.9rem;
    }

    .onboarding-step {
        gap: 16px;
        padding: 18px 0;
    }

    .step-number {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .graph-container {
        height: 220px;
        padding: 24px 8px 8px;
        gap: 8px;
    }

    .graph-bar {
        max-width: 40px;
        min-width: 20px;
        padding-top: 5px;
    }

    .bar-value {
        font-size: 11px;
    }

    .graph-label {
        font-size: 12px;
    }

    .graph-desc {
        font-size: 10px;
    }

    .why-section {
        padding: 20px 24px;
    }

    .why-section ul {
        grid-template-columns: 1fr;
    }

    .why-section li {
        font-size: 0.9rem;
    }

    .result-note {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .onboarding-card {
        padding: 20px 16px;
        margin: 12px 8px;
        border-radius: 16px;
    }

    .onboarding-header h1 {
        font-size: 1.6rem;
    }

    .onboarding-header .subtitle {
        font-size: 0.95rem;
    }

    .onboarding-step {
        flex-direction: column;
        gap: 10px;
        padding: 16px 0;
    }

    .step-number {
        align-self: center;
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .step-example {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .result-section h2 {
        font-size: 1.1rem;
    }

    .graph-container {
        height: 180px;
        padding: 16px 4px 6px;
        gap: 4px;
    }

    .graph-bar {
        max-width: 32px;
        min-width: 16px;
        padding-top: 3px;
        border-radius: 4px 4px 2px 2px;
    }

    .bar-value {
        font-size: 8px;
    }

    .graph-label {
        font-size: 10px;
        margin-top: 6px;
    }

    .graph-desc {
        font-size: 8px;
        margin-top: 2px;
    }

    .graph-bar-wrapper.highlight .graph-desc {
        font-size: 9px;
    }

    .result-note {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .why-section {
        padding: 16px 18px;
        margin: 24px 0;
    }

    .why-section h2 {
        font-size: 1rem;
    }

    .why-section li {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    .cta-section .btn-primary {
        padding: 14px 40px;
        font-size: 16px;
    }

    .cta-sub {
        font-size: 0.85rem;
    }

    .onboarding-step.final-step {
        padding: 16px 18px;
    }

    .step-example.highlight-example {
        font-size: 0.85rem;
    }
}

@media (max-width: 375px) {
    .onboarding-card {
        padding: 14px 12px;
    }

    .onboarding-header h1 {
        font-size: 1.4rem;
    }

    .onboarding-header .subtitle {
        font-size: 0.9rem;
    }

    .step-content h3 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .step-example {
        font-size: 0.8rem;
    }

    .graph-container {
        height: 150px;
        gap: 2px;
        padding: 12px 2px 4px;
    }

    .graph-bar {
        max-width: 24px;
        min-width: 12px;
        padding-top: 2px;
        border-radius: 3px 3px 1px 1px;
    }

    .bar-value {
        font-size: 6px;
    }

    .graph-label {
        font-size: 8px;
        margin-top: 4px;
    }

    .graph-desc {
        font-size: 7px;
    }

    .graph-bar-wrapper.highlight .graph-desc {
        font-size: 7px;
    }

    .why-section li {
        font-size: 0.8rem;
    }

    .result-note {
        font-size: 0.8rem;
    }

    .cta-sub {
        font-size: 0.8rem;
    }
}