.features {
    background: white;
}

.feature-category {
    margin-bottom: 5rem;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-phone {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 220px;
    height: 440px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 2px #333;
    position: relative;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.phone-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

.img-slider {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.img-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.img-slider .slide.active {
    opacity: 1;
}

.feature-text {
    padding: 1rem;
}

.feature-text .feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-text .feature-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-text .feature-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 968px) {
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        text-align: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .feature-text .feature-icon,
    .feature-text .feature-title,
    .feature-text .feature-description {
        text-align: center;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }
}