/* ============================================
   ФИЧИ
   ============================================ */
.features {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    padding: 32px 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: all 0.3s;
    background-color: var(--color-card-bg);
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

/* Фоновая иллюстрация */
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 180px;
    height: 180px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.16;
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 0;
}

.feature-card:hover::after {
    opacity: 0.12;
    transform: scale(1.05);
}

/* Индивидуальные иллюстрации */
.feature-card:nth-child(1)::after {
    background-image: url('../img/feat-chat.png');
}

.feature-card:nth-child(2)::after {
    background-image: url('../img/feat-docs.png');
}

.feature-card:nth-child(3)::after {
    background-image: url('../img/feat-photo.png');
}

.feature-card:nth-child(4)::after {
    background-image: url('../img/feat-books.png');
}

.feature-card:nth-child(5)::after {
    background-image: url('../img/feat-expert.png');
}

.feature-card:nth-child(6)::after {
    background-image: url('../img/feat-calc.png');
}

.feature-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 32px rgba(54, 112, 226, 0.08);
    transform: translateY(-2px);
}

/* Контент поверх фона */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(54, 112, 226, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
