/* Feature Sync Block */
.feature-sync {
    position: relative;
    overflow: hidden;
}

.feature-sync-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(55, 85, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(234, 100, 99, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.feature-sync-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.feature-sync-title {
    font-size: 36px;
    font-weight: 700;
    color: #37556b;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.feature-sync-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #ea6463 0%, #f47776 100%);
    border-radius: 2px;
}

.feature-sync-description {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6!important;
    margin-top: 24px!important;
    margin-bottom: 0!important;
}

/* Devices Layout */
.feature-sync-devices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.feature-sync-desktop {
    flex: 0 0 auto;
}

.feature-sync-mobile {
    flex: 0 0 auto;
}

/* Laptop Mockup */
.feature-sync-laptop {
    width: 450px;
    position: relative;
}


.feature-sync-laptop-screen {
    width: 100%;
    padding-bottom: 62.5%;
    background-color: #f5f6fa;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 10px 10px 0 0;
    border: 10px solid #1a1a1a;
    border-bottom: none;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
}

.feature-sync-laptop-base {
    width: 110%;
    height: 14px;
    background: linear-gradient(to bottom, #d4d4d4 0%, #a8a8a8 100%);
    border-radius: 0 0 8px 8px;
    margin-left: -5%;
    position: relative;
}

.feature-sync-laptop-base::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: #888;
    border-radius: 2.5px;
}

/* Phone Mockup */
.feature-sync-phone {
    width: 180px;
    height: 380px;
    background: #1a1a1a;
    border-radius: 32px;
    padding: 8px;
    position: relative;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.feature-sync-phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.feature-sync-phone-screen {
    width: 100%;
    height: 100%;

    background-position: center center;
    background-color: #f5f6fa;
    background-size: contain;
    background-repeat: no-repeat;

    border-radius: 26px;
    overflow: hidden;
}

/* Placeholder Styling */
.feature-sync-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f7 0%, #e8eef2 100%) !important;
}

.feature-sync-placeholder-icon {
    color: #a0b0c0;
    font-size: 48px;
}

.feature-sync-laptop-screen.feature-sync-placeholder {
    position: relative;
}

.feature-sync-laptop-screen.feature-sync-placeholder .feature-sync-placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Connector */
.feature-sync-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-sync-connector-line {
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(55, 85, 107, 0.3) 0%, #37556b 50%, rgba(55, 85, 107, 0.3) 100%);
    border-radius: 1.5px;
}

.feature-sync-connector-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #37556b 0%, #4a6b7c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(55, 85, 107, 0.3);
}

/* Animation */
.feature-sync-animated .feature-sync-connector-icon {
    animation: syncRotate 3s ease-in-out infinite;
}

.feature-sync-animated .feature-sync-connector-line {
    position: relative;
    overflow: hidden;
}

.feature-sync-animated .feature-sync-connector-line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #ea6463, transparent);
    animation: syncPulse 2s ease-in-out infinite;
}

@keyframes syncRotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(180deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(360deg); }
}

@keyframes syncPulse {
    0% { top: -20px; }
    100% { top: 100%; }
}

/* Sync Points */
.feature-sync-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-sync-point {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(55, 85, 107, 0.08);
    transition: all 0.3s ease;
}

.feature-sync-point-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-sync-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-sync-point-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(55, 85, 107, 0.08) 0%, rgba(55, 85, 107, 0.15) 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.feature-sync-point:hover .feature-sync-point-icon {
    background: linear-gradient(135deg, #37556b 0%, #4a6b7c 100%);
}

.feature-sync-point-icon img {
    max-width: 30px;
    max-height: 30px;
    transition: filter 0.3s ease;
}

.feature-sync-point:hover .feature-sync-point-icon img {
    filter: brightness(0) invert(1);
}

.feature-sync-point-icon i {
    font-size: 24px;
    color: #37556b;
    transition: color 0.3s ease;
}

.feature-sync-point:hover .feature-sync-point-icon i {
    color: white;
}

.feature-sync-point-title {
    font-size: 18px;
    font-weight: 600;
    color: #37556b;
    margin: 0;
    line-height: 1.3;
}

.feature-sync-point-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6!important;
    margin: 0!important;
}

/* Responsive */
@media (max-width: 991px) {
    .feature-sync-devices {
        flex-direction: column;
        gap: 30px;
    }

    .feature-sync-connector {
        flex-direction: row;
    }

    .feature-sync-connector-line {
        width: 60px;
        height: 3px;
        background: linear-gradient(to right, rgba(55, 85, 107, 0.3) 0%, #37556b 50%, rgba(55, 85, 107, 0.3) 100%);
    }

    .feature-sync-laptop {
        width: 350px;
    }

    .feature-sync-points {
        grid-template-columns: 1fr;
    }

    .feature-sync-title {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .feature-sync-laptop {
        width: 280px;
    }

    .feature-sync-phone {
        width: 140px;
        height: 300px;
        border-radius: 24px;
        padding: 6px;
    }

    .feature-sync-phone-notch {
        width: 60px;
        height: 14px;
    }

    .feature-sync-phone-screen {
        border-radius: 20px;
    }

    .feature-sync-title {
        font-size: 26px;
    }

    .feature-sync-point {
        padding: 20px 18px;
        gap: 14px;
    }

    .feature-sync-point-icon {
        width: 48px;
        height: 48px;
    }

    .feature-sync-point-icon i {
        font-size: 20px;
    }

    .feature-sync-point-title {
        font-size: 16px;
    }

    .feature-sync-point-desc {
        font-size: 14px;
    }
}
