.platforms-section {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Headings */
.platforms-title,
.platforms-subtitle {
    font-size: 2.5rem;
    color: #c1d1e9;
    margin: 0 0 2rem;
    position: relative;
    z-index: 2;
}

.platforms-title::after,
.platforms-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1fa5fd;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Slider */
.platforms-slider {
    padding: 2rem 0;
    margin: 3rem 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.platforms-slider::before,
.platforms-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.platforms-slider::before {
    left: 0;
    background: linear-gradient(to right, rgb(9, 16, 32), transparent);
}

.platforms-slider::after {
    right: 0;
    background: linear-gradient(to left, rgb(9, 16, 69), transparent);
}

.slide-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 14); /* Accounts for duplicated elements */
}

.platform-item {
    font-size: 2.5rem;
    color: transparent;
    background: linear-gradient(135deg, #1fa5fd, #0dcaf0);
    background-clip: text;
    -webkit-background-clip: text;
    padding: 0 2rem;
    white-space: nowrap;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.platform-item:hover {
    transform: scale(1.1);
}

/* Cloud Platforms List */
.cloud-platforms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
    list-style-type: none;
    padding: 0;
}

.cloud-item {
    font-size: 2rem;
    color: #c1d1e9;
    opacity: 0.7;
    margin: 0 20px;
    transition: all 0.3s ease;
}

/* Button */
.platforms-btn {
    display: inline-block;
}

/* Slider Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 7)); /* Half the total width */
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .platforms-title,
    .platforms-subtitle {
        font-size: 2rem;
    }

    .platform-item {
        font-size: 2rem;
    }

    .cloud-item {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .platforms-title,
    .platforms-subtitle {
        font-size: 1.75rem;
    }

    .platform-item {
        font-size: 1.5rem;
        padding: 0 1.5rem;
    }

    .cloud-item {
        font-size: 1.5rem;
    }

    .cloud-platforms {
        gap: 1.5rem;
    }

    .platforms-btn.advantages {
        width: 100%;
        max-width: 300px;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    .slide-track {
        animation: none;
    }

    .btn-highlight {
        display: none;
    }
}