@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.feature-points-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.feature-points-widget {
    font-family: 'Anton', sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    overflow-x: hidden;
}

.feature-points-widget.full-width-enabled {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.feature-points-widget .container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-points-widget .feature-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-points-widget .feature-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px) scale(0.95);
}

.feature-points-widget .feature-item.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.feature-points-widget .number-container {
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.3s;
}

.feature-points-widget .feature-item.is-visible .number-container {
    transform: scale(1);
    opacity: 1;
}

.feature-points-widget .number {
    line-height: 1;
    color: white;
}

.feature-points-widget .text-container {
    text-align: left;
}

.feature-points-widget .feature-item:nth-child(even) .text-container {
    text-align: right;
}

.feature-points-widget .text-reveal {
    overflow: hidden;
}

.feature-points-widget .text-line {
    display: block;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(110%);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.7s ease;
}

.feature-points-widget .feature-item.is-visible .text-line {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.feature-points-widget .feature-item.is-visible .text-line:nth-child(2) {
    transition-delay: 0.7s;
}

@media (max-width: 768px) {
    .feature-points-widget {
        padding: 2rem 1rem;
    }
    
    .feature-points-widget.full-width-enabled {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }
    
    .feature-points-widget .container {
        gap: 3rem;
    }
    
    .feature-points-widget .feature-item,
    .feature-points-widget .feature-item:nth-child(even) {
        flex-direction: column;
        gap: 1.5rem;
        transform: translateY(50px) scale(0.95);
    }
    
    .feature-points-widget .feature-item.is-visible {
        transform: translateY(0) scale(1);
    }
    
    .feature-points-widget .text-container,
    .feature-points-widget .feature-item:nth-child(even) .text-container {
        text-align: center;
    }
}