/* ============================================================
   SEKCJA SEO: Kakobuy Spreadsheet / QC Finder / Item Finder + FAQ
   ============================================================ */

.kf-seo {
    position: relative;
    background-color: #050505;
    padding: 90px 20px;
    overflow: hidden;
}

.kf-seo::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(230, 0, 0, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.kf-seo__container {
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.kf-seo__head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px;
}

.kf-seo__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 0, 0, 0.10);
    border: 1px solid rgba(230, 0, 0, 0.35);
    color: #FF4D4D;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.kf-seo__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0 0 16px;
}

.kf-seo__title .text-red { color: #E60000; }

.kf-seo__desc {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #A9A9A9;
    line-height: 1.7;
    margin: 0;
}

.kf-seo__desc strong { color: #E8E8E8; font-weight: 600; }

/* ---------- Karty narzędzi ---------- */
.kf-seo__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 70px;
}

.kf-seo__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 26px;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.kf-seo__card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 0, 0, 0.55);
    background: rgba(230, 0, 0, 0.05);
}

.kf-seo__card-ico {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.22), rgba(230, 0, 0, 0.06));
    border: 1px solid rgba(230, 0, 0, 0.35);
    color: #FF1A1A;
    font-size: 1.35rem;
}

.kf-seo__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 4px 0 0;
}

.kf-seo__card-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #A0A0A0;
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

.kf-seo__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FF4D4D;
    margin-top: 6px;
    transition: gap 0.2s ease;
}

.kf-seo__card:hover .kf-seo__card-cta { gap: 13px; }

/* ---------- FAQ ---------- */
.kf-seo__faq {
    max-width: 880px;
    margin: 0 auto;
}

.kf-seo__faq-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 2.6vw, 1.65rem);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 28px;
}

.kf-faq__item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.kf-faq__item[open] { border-color: rgba(230, 0, 0, 0.45); }

.kf-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #F0F0F0;
    user-select: none;
}

.kf-faq__q::-webkit-details-marker { display: none; }

.kf-faq__q i {
    color: #E60000;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.kf-faq__item[open] .kf-faq__q i { transform: rotate(180deg); }

.kf-faq__a {
    padding: 0 22px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    color: #ABABAB;
    line-height: 1.7;
}

.kf-faq__a strong { color: #E8E8E8; }

.kf-faq__a a {
    color: #FF4D4D;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 77, 77, 0.5);
}

.kf-faq__a a:hover { color: #FF1A1A; border-bottom-style: solid; }

/* ---------- Responsywność ---------- */
@media (max-width: 920px) {
    .kf-seo__grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 55px; }
    .kf-seo { padding: 70px 16px; }
}
