/* AUDYT SEO – sekcja z własnym stylem */
.seo-audit-section {
    position: relative;
    padding: 72px 0;
    overflow: hidden;
}

/* delikatne ruchome tło */
.seo-audit-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(33, 150, 243, 0.10) 0, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(76, 175, 80, 0.09) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 0;
    animation: auditBgDrift 22s ease-in-out infinite alternate;
}

@keyframes auditBgDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -12px, 0);
    }
    100% {
        transform: translate3d(-10px, 4px, 0);
    }
}

.seo-audit-section .container {
    position: relative;
    z-index: 1;
}

/* GRID KART */
.seo-audit-grid {
    position: relative;
}

/* pojedyncza karta audytu */
.seo-audit-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 20px 18px;
    box-shadow:
        0 14px 35px rgba(15, 23, 42, 0.07),
        0 0 0 1px rgba(148, 163, 184, 0.14);
    overflow: hidden;
    isolation: isolate;
    transform: translateY(18px);
    opacity: 0;
    transition:
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 320ms ease-out,
        box-shadow 320ms ease-out;
}

/* gradientowa poświata na krawędzi – aktywuje się po wejściu w viewport */
.seo-audit-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg,
        rgba(59, 130, 246, 0.0),
        rgba(59, 130, 246, 0.8),
        rgba(52, 211, 153, 0.8),
        rgba(59, 130, 246, 0.8),
        rgba(59, 130, 246, 0.0)
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transform: translate3d(0, 0, 0);
}

/* aktywne – nadawane z JS */
.seo-audit-card.audit-card-active {
    opacity: 1;
    transform: translateY(0);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.11),
        0 0 0 1px rgba(129, 140, 248, 0.3);
}

.seo-audit-card.audit-card-active::before {
    opacity: 1;
    animation: auditBorderFlow 2400ms linear infinite;
}

@keyframes auditBorderFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* hover – lekkie unoszenie, bez „podskakiwania” */
.seo-audit-card.audit-card-active:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 48px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(129, 140, 248, 0.4);
}

.seo-list {
    list-style: none;
    padding-left: 0;
}

.seo-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.seo-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #3b82f6;
}

/* dolne podsumowanie */
.seo-audit-summary {
    margin-top: 28px;
    border-radius: 18px;
    padding: 18px 22px;
    background: rgba(239, 246, 255, 0.85);
    border: 1px solid rgba(191, 219, 254, 0.9);
}

/* responsywność */
@media (max-width: 991.98px) {
    .seo-audit-section {
        padding: 56px 0;
    }
}

@media (max-width: 767.98px) {
    .seo-audit-card {
        padding: 18px 18px 16px;
    }

    .seo-audit-summary {
        padding: 16px 16px;
    }
}
