/* ============================================================
   body-standard-analytic  —  "Мовна аналітика дзвінків"
   Matches reference design (image 3)
   ============================================================ */

.body-standard-analytic *,
.body-standard-analytic *::before,
.body-standard-analytic *::after { box-sizing: border-box; }

.body-standard-analytic {
    --bsa-blue:        #2d7ff9;
    --bsa-blue-dark:   #1466e0;
    --bsa-blue-soft:   #eaf2ff;
    --bsa-ink:         #15171c;
    --bsa-body:        #41454f;
    --bsa-muted:       #5b6170;
    --bsa-orange-1:    #f9a52f;
    --bsa-orange-2:    #f3801c;
    --bsa-bar-1:       #4a93f7;
    --bsa-bar-2:       #2f7bee;
    --bsa-radius:      14px;
    --bsa-maxw:        1180px;

    position: relative;
    width: 100%;
    max-width: 1920px;
    overflow: hidden;
    background: #ffffff;
    color: var(--bsa-ink);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.bsv-accent { color: #2D7FF9FF; }
/* ---------- radiating contour background ---------- */
.body-standard-analytic .bsa-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.body-standard-analytic .bsa-bg .bsa-lines {
    position: absolute;
    top: 50%; left: 42%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    opacity: .55;
}
/* soft glows: cool light top-left, faint blue bottom-right (as in reference edges) */
.body-standard-analytic .bsa-bg::before,
.body-standard-analytic .bsa-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}
.body-standard-analytic .bsa-bg::before {
    top: -160px; left: -120px;
    width: 620px; height: 620px;
    background: radial-gradient(closest-side, rgba(214,228,247,.75), rgba(255,255,255,0));
}
.body-standard-analytic .bsa-bg::after {
    right: -180px; bottom: -200px;
    width: 560px; height: 560px;
    background: radial-gradient(closest-side, rgba(204,223,250,.55), rgba(255,255,255,0));
}

/* ---------- layout shell ---------- */
.body-standard-analytic .bsa-inner {
    position: relative;
    z-index: 1;
    max-width: var(--bsa-maxw);
    margin: 0 auto;
    padding: 26px 32px 0;
}

/* ---------- back link ---------- */
.body-standard-analytic .bsa-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bsa-muted);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 4px 2px;
    transition: color .15s ease, transform .15s ease;
}
.body-standard-analytic .bsa-back:hover { color: var(--bsa-blue); transform: translateX(-2px); }
.body-standard-analytic .bsa-back .bsa-chev { font-size: 15px; line-height: 1; }

/* ---------- hero grid ---------- */
.body-standard-analytic .bsa-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 28px;
    padding: 18px 0 56px;
}

/* product visual */
.body-standard-analytic .bsa-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
}
.body-standard-analytic .bsa-visual img {
    width: 100%;
    max-width: 580px;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 55px rgba(33, 71, 140, .25));
}

/* ---------- copy column ---------- */
.body-standard-analytic .bsa-copy { max-width: 470px; }

.body-standard-analytic .bsa-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
    background: var(--bsa-blue);
    padding: 5px 13px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.body-standard-analytic .bsa-title {
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.4px;
    color: var(--bsa-ink);
    margin: 0 0 16px;
}

.body-standard-analytic .bsa-lead {
    font-size: 16px;
    line-height: 1.45;
    font-style: italic;
    font-weight: 600;
    color: var(--bsa-blue);
    margin: 0 0 18px;
}

.body-standard-analytic .bsa-text {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--bsa-body);
    margin: 0 0 26px;
}

/* ---------- buttons ---------- */
.bsa-actions {
    display: flex;
    gap: 14px;
    flex-direction: row;
}
.body-standard-analytic .bsa-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1;
    border-radius: 9px;
    padding: 14px 24px;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
    white-space: nowrap;
}
.body-standard-analytic .bsa-btn:active { transform: translateY(1px); }

.body-standard-analytic .bsa-btn--primary {
    color: #fff;
    background: linear-gradient(180deg, var(--bsa-orange-1), var(--bsa-orange-2));
    box-shadow: 0 10px 22px rgba(243, 128, 28, .32);
}
.body-standard-analytic .bsa-btn--primary:hover {
    box-shadow: 0 14px 26px rgba(243, 128, 28, .42);
    transform: translateY(-1px);
}

.body-standard-analytic .bsa-btn--ghost {
    color: var(--bsa-blue);
    background: #fff;
    border: 1.6px solid var(--bsa-blue);
}
.body-standard-analytic .bsa-btn--ghost:hover {
    background: var(--bsa-blue-soft);
    transform: translateY(-1px);
}
.body-standard-analytic .bsa-btn--ghost .bsa-play {
    width: 20px; height: 20px; flex: none;
}

/* ---------- feature ticker bar ---------- */
.body-standard-analytic .bsa-ticker {
    position: relative;
    z-index: 1;
    width: 100%;
    background: linear-gradient(90deg, var(--bsa-bar-1), var(--bsa-bar-2));
    overflow: hidden;
    /* плавне зникнення країв (зліва та справа) */
    --bsa-fade: 140px;
    -webkit-mask-image: linear-gradient(90deg,
    transparent 0,
    #000 var(--bsa-fade),
    #000 calc(100% - var(--bsa-fade)),
    transparent 100%);
    mask-image: linear-gradient(90deg,
    transparent 0,
    #000 var(--bsa-fade),
    #000 calc(100% - var(--bsa-fade)),
    transparent 100%);
}
.body-standard-analytic .bsa-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: bsa-scroll 32s linear infinite;
}
.body-standard-analytic .bsa-ticker:hover .bsa-track { animation-play-state: paused; }

.body-standard-analytic .bsa-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.body-standard-analytic .bsa-item img,
.body-standard-analytic .bsa-item .bsa-check {
    width: 13px;
    height: auto;
    flex: none;
}

@keyframes bsa-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .body-standard-analytic .bsa-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .body-standard-analytic .bsa-hero {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 40px;
    }
    .body-standard-analytic .bsa-visual { order: 2; min-height: auto; }
    .body-standard-analytic .bsa-copy   { order: 1; max-width: none; }
    .body-standard-analytic .bsa-title  { font-size: 26px; }
}
@media (max-width: 520px) {
    .body-standard-analytic .bsa-inner { padding: 20px 18px 0; }
    .body-standard-analytic .bsa-actions .bsa-btn { flex: 1 1 100%; justify-content: center; }
    .body-standard-analytic .bsa-item { padding: 14px 26px; }
}