/* ===== SECTION ===== */
.services-section {
    min-height: auto;
    padding: 100px 0 100px;
    overflow: hidden;

    display: flex;
    #flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    background:
        radial-gradient(circle at 20% 20%, rgba(90,15,200,0.12), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(181,23,255,0.08), transparent 40%),
        linear-gradient(to bottom, #F3F4FF, #EDEEFF);
}

/* ===== HEADER ===== */
.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-marquee {
    margin-top: 20px;
    margin-bottom: 20px;
}
.services-badge {
    font-size: 12px;
    letter-spacing: 3px;
    color: #5A0FC8;
    font-weight: 600;
}

.services-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-top: 10px;
}

.services-subtitle {
    margin-top: 15px;
    color: #6b7280;
    font-size: 16px;
}

/* ===== MARQUEE ===== */
.services-marquee {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* fade edges */
.services-marquee::before,
.services-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 3;
}

.services-marquee::before {
    left: 0;
    background: linear-gradient(to right, #F3F4FF, transparent);
}

.services-marquee::after {
    right: 0;
    background: linear-gradient(to left, #F3F4FF, transparent);
}

/* ===== TRACK ===== */
.services-track {
    display: flex;
    gap: 40px;
    width: max-content;

    animation: scroll 30s linear infinite;
}

.services-marquee:hover .services-track {
    animation-play-state: paused;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== CARD ===== */
.service-card {
    min-width: 420px;
    padding: 50px 40px;
    border-radius: 32px;

    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(25px);

    position: relative;
    overflow: hidden;

    transition: all 0.4s ease;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.06),
        0 5px 20px rgba(90,15,200,0.08);
}

/* glow */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(181,23,255,0.3), transparent 70%);
    opacity: 0;
    transition: 0.4s;
}

/* hover эффект */
.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 70px rgba(90,15,200,0.25);
}

.service-card:hover::before {
    opacity: 1;
}

/* ===== ICON ===== */
.service-card i {
    font-size: 34px;
    color: #5A0FC8;
    margin-bottom: 20px;
}

/* ===== TITLE ===== */
.service-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
}

/* ===== FEATURES ===== */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 10px;
}

/* ===== EXTRA CREATIVITY ===== */

/* subtle gradient border */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(120deg, #5A0FC8, transparent, #B517FF);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    opacity: 0.2;
}

/* floating animation */
.service-card:nth-child(odd) {
    animation: floatCard 6s ease-in-out infinite;
}

.service-card:nth-child(even) {
    animation: floatCard 8s ease-in-out infinite;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}