/* === Sekcja HERO === */
.features-hero-section {
    background-color: var(--brand-dark);
    color: var(--brand-text-light);
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.features-hero-section h1 {
    font-size: 2.5rem;
    color: #fff;
}

.features-hero-section p {
    color: rgba(255, 255, 255, 0.85);
}

/* === Sekcja kafelków === */
.features-overview-section {
    background-color: #fff;
}

.feature-tile {
    background-color: #ffffff;
    border: 1px solid rgba(18, 39, 56, 0.08);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-tile:hover {
    transform: translateY(-6px);
    border-color: rgba(17, 102, 45, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-tile-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background-color: rgba(17, 102, 45, 0.08);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-tile:hover .feature-tile-icon {
    background-color: var(--brand-primary);
    color: #fff;
    transform: scale(1.1);
}

.feature-tile h5 {
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-tile p {
    font-size: 0.95rem;
    color: rgba(18, 39, 56, 0.75);
}

/* === Responsywność === */
@media (max-width: 767.98px) {
    .features-hero-section h1 {
        font-size: 2rem;
    }

    .feature-tile {
        padding: 1.5rem;
    }

    .feature-tile-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-tile h5 {
        font-size: 1rem;
    }

    .feature-tile p {
        font-size: 0.9rem;
    }
}

/* === Sekcja grup funkcji === */
.feature-group {
    margin-bottom: 4rem;
}

.feature-group-title {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.feature-group-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--brand-primary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}
