/* =========================================================
   BÓLE I AMBICJE
========================================================= */

.pains {
    position: relative;

    padding: 6rem 0;
}


/* =========================================================
   NAGŁÓWEK
========================================================= */

.pains-head {
    max-width: 780px;

    margin-bottom: 3rem;
}

.pains-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: .7rem;

    margin-bottom: 1.25rem;

    color: #55a2f6;

    font-size: .8rem;
    font-weight: 700;
    line-height: 1;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.pains-eyebrow::before {
    content: "";

    width: 34px;
    height: 2px;

    border-radius: 2px;

    background: var(--color-accent);
}

.pains-title {
    margin-bottom: 1.25rem;

    color: #fff;

    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -.02em;
}

.pains-title em {
    color: var(--color-primary);

    font-style: normal;
}

.pains-subtitle {
    max-width: 720px;

    color: var(--color-text-muted);

    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   SIATKA
========================================================= */

.pains-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1.25rem;
}


/* =========================================================
   KAFELEK
========================================================= */

.pain-item {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 1.1rem;

    padding: 1.85rem 1.85rem 1.85rem 1.65rem;

    overflow: hidden;

    border: 1px solid rgba(242, 140, 40, .2);
    border-left: 3px solid rgba(242, 140, 40, .75);
    border-radius: 6px 18px 18px 6px;

    background: linear-gradient(
        100deg,
        rgba(38, 26, 16, .75),
        rgba(8, 15, 28, .9) 65%
    );

    transition:
        border-color .3s ease,
        transform .3s ease;
}

.pain-item:hover {
    border-color: rgba(242, 140, 40, .45);
    border-left-color: var(--color-accent);

    transform: translateX(4px);
}


/* =========================
   WARIANT — AMBICJA
========================= */

.pain-item--goal {
    border-color: rgba(77, 124, 255, .24);
    border-left-color: rgba(77, 124, 255, .8);

    background: linear-gradient(
        100deg,
        rgba(18, 38, 78, .8),
        rgba(6, 14, 30, .92) 65%
    );
}

.pain-item--goal:hover {
    border-color: rgba(77, 124, 255, .5);
    border-left-color: var(--color-primary);
}


/* =========================================================
   ZNACZNIK
========================================================= */

.pain-mark {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border: 1px solid rgba(242, 140, 40, .4);
    border-radius: 10px;

    background: rgba(242, 140, 40, .1);

    color: var(--color-accent);

    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
}

.pain-item--goal .pain-mark {
    border-color: rgba(85, 162, 246, .45);

    background: rgba(85, 162, 246, .1);

    color: #55a2f6;
}


/* =========================================================
   TREŚĆ KAFELKA
========================================================= */

.pain-text {
    margin: 0;

    color: var(--color-text-muted);

    font-size: .96rem;
    line-height: 1.65;
}

.pain-text strong {
    display: block;

    margin-bottom: .45rem;

    color: #fff;

    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}


/* =========================================================
   CTA
========================================================= */

.pains-cta {
    position: relative;

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

    gap: 2rem;

    margin-top: 2rem;
    padding: 2rem 2.25rem;

    overflow: hidden;

    border: 1px solid rgba(242, 140, 40, .3);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 95% 50%,
            rgba(242, 140, 40, .12),
            transparent 60%
        ),
        linear-gradient(
            110deg,
            rgba(30, 24, 18, .85),
            rgba(7, 15, 30, .94)
        );
}

.pains-cta-text {
    max-width: 680px;

    margin: 0;

    color: var(--color-text-muted);

    font-size: 1.02rem;
    line-height: 1.7;
}

.pains-cta-text strong {
    display: block;

    margin-bottom: .4rem;

    color: #fff;

    font-size: 1.15rem;
    font-weight: 600;
}

.pains-cta-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    gap: .9rem;

    padding: 1.05rem 2rem;

    border: 0;
    border-radius: 999px;

    background: var(--color-accent);

    color: #0B1220;
    text-decoration: none;

    font-size: 1rem;
    font-weight: 700;
    line-height: 1;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.pains-cta-button:hover {
    transform: translateY(-2px);

    box-shadow: 0 14px 34px rgba(242, 140, 40, .28);
}


/* =========================================================
   RESPONSIVE — 900px
========================================================= */

@media (max-width: 900px) {

    .pains {
        padding: 4rem 0;
    }

    .pains-head {
        margin-bottom: 2.25rem;
    }

    .pains-grid {
        grid-template-columns: 1fr;

        gap: 1rem;
    }

    .pain-item {
        padding: 1.6rem 1.6rem 1.6rem 1.4rem;
    }

    .pains-cta {
        flex-direction: column;
        align-items: flex-start;

        gap: 1.5rem;
        padding: 1.75rem 1.5rem;
    }

    .pains-cta-button {
        width: 100%;
    }

}


/* =========================================================
   RESPONSIVE — 600px
========================================================= */

@media (max-width: 600px) {

    .pains {
        padding: 3.5rem 0;
    }

    .pain-item {
        gap: .9rem;

        padding: 1.35rem 1.35rem 1.35rem 1.15rem;

        border-radius: 5px 14px 14px 5px;
    }

    .pain-mark {
        width: 32px;
        height: 32px;

        font-size: .95rem;
    }

    .pain-text {
        font-size: .92rem;
    }

    .pain-text strong {
        font-size: 1rem;
    }

    .pains-subtitle {
        font-size: .98rem;
    }

    .pains-cta-text {
        font-size: .96rem;
    }

    .pains-cta-text strong {
        font-size: 1.08rem;
    }

}