.features {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 100%;
    height: 100%;
    background-image: var(--feature-bg);
    background-size: cover;
    background-position: right center;
    opacity: 0.7;
    z-index: 1;
}

.features-header,
.features-grid {
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #0099B0;
    line-height: 1.5;
}

.features-title {
    font-size: 32px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.features-description {
    font-size: 20px;
    color: #333;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-item {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 360px;
    padding: 0 40px;
}

.feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background-color: #E0E0E0;
}

.feature-number {
    position: absolute;
    top: -15px;
    left: 0;
    background: #00B2B8;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.feature-image {
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    margin: 0 auto 20px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.6;
}

.feature-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features {
        padding: 40px 0;
    }

    .features-header {
        padding: 0 20px;
    }

    .features-title {
        font-size: 24px;
        line-height: 1.6;
    }

    .features-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .feature-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .features-grid {
        flex-direction: column;
        gap: 40px;
    }

    .feature-item {
        max-width: 100%;
        padding: 0 20px;
    }

    .feature-item:not(:last-child)::after {
        display: none;
    }

    .feature-image {
        width: 60%;
    }
}

@media (max-width: 390px) {
    .features-title {
        font-size: 22px;
    }

    .features-subtitle {
        font-size: 13px;
    }

    .feature-description {
        font-size: 13px;
    }

    .feature-image {
        width: 70%;
    }

    .feature-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .features-grid {
        gap: 30px;
    }
} 